1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-06-24 12:32:46 +02:00
CanvasBlocker/.eslintrc.json

35 lines
968 B
JSON
Raw Normal View History

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