1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-06-08 06:17:47 +02:00
CanvasBlocker/.eslintrc.json
2017-10-03 15:35:31 +02:00

35 lines
968 B
JSON

{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"webextensions": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"sourceType": "script"
},
"extends": "eslint:recommended",
"globals": {
"exportFunction": false,
"settings": false
},
"rules": {
"brace-style": ["warn", "stroustrup", {"allowSingleLine": true}],
"eqeqeq": "warn",
"no-const-assign": "warn",
"no-this-before-super": "warn",
"no-undef": "warn",
"no-unreachable": "warn",
"no-unused-vars": "off",
"no-trailing-spaces": ["warn", {"skipBlankLines": true}],
"no-mixed-spaces-and-tabs": ["warn", "smart-tabs"],
"constructor-super": "warn",
"valid-typeof": "warn",
"quotes": ["error", "double"],
"semi": ["error", "always"],
"strict": ["warn", "function"]
}
}