film-exif/.eslintrc

81 lines
2.0 KiB
Plaintext
Raw Normal View History

2018-03-29 16:28:14 -04:00
{
"env": {
"browser": true,
"node": true,
"shared-node-browser": true,
"jest": true
},
"extends": [
"eslint:recommended",
"plugin:inferno/recommended",
"eslint-config-happiness"
],
2018-03-30 23:05:59 -04:00
"globals": {
"location": true
},
2018-03-29 16:28:14 -04:00
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
2018-03-30 21:30:22 -04:00
"array-callback-return": "error",
"camelcase": ["error", {
"properties": "never"
}],
"comma-dangle": ["error", "always-multiline"],
"jsx-quotes": ["error", "prefer-double"],
"linebreak-style": "off",
"multiline-ternary": ["error", "always-multiline"],
"prefer-arrow-callback": ["error", {
"allowNamedFunctions": true
}],
"prefer-const": "error",
"no-alert": "error",
2018-04-16 16:37:00 -04:00
"no-case-declarations": "off",
2018-03-30 21:30:22 -04:00
"no-console": "off",
"no-duplicate-imports": "error",
"no-eval": "error",
"no-extend-native": "error",
"no-extra-bind": "error",
"no-extra-semi": "error",
"no-implied-eval": "error",
"no-invalid-this": "error",
"no-nested-ternary": "error",
"no-new-func": "error",
"no-new-wrappers": "error",
2018-03-30 23:05:59 -04:00
"no-restricted-globals": "off",
2018-03-30 21:30:22 -04:00
"no-return-assign": "error",
"no-return-await": "error",
"no-self-compare": "error",
"no-unneeded-ternary": "error",
"no-unused-expressions": "error",
"no-use-before-define": "error",
"no-useless-call": "error",
"no-useless-concat": "error",
"no-useless-return": "error",
"no-var": "error",
"no-with": "error",
"prefer-rest-params": "error",
"prefer-spread": "error",
"prefer-template": "error",
"quotes": ["error", "single", {
"allowTemplateLiterals": true,
"avoidEscape": true
}],
"quote-props": ["error", "as-needed", {
"keywords": true,
"unnecessary": false,
"numbers": false
}],
"radix": ["error", "always"],
"react/prefer-stateless-function": "off",
"require-await": "error",
"sort-keys": ["error", "asc", {"caseSensitive": true, "natural": true}],
"yoda": ["error", "never"]
2018-03-29 16:28:14 -04:00
}
}