colouring-montreal/app/.eslintrc

50 lines
1.1 KiB
Plaintext
Raw Normal View History

{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"jest",
"react"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"eslint:recommended",
2019-05-27 13:26:29 -04:00
"plugin:jest/recommended",
"plugin:react/recommended"
],
"env": {
"browser": true,
"commonjs": true,
"node": true,
2019-05-27 13:26:29 -04:00
"es6": true,
"jest": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"no-console": "off",
"strict": ["error", "global"],
2019-05-27 11:31:48 -04:00
"curly": "warn",
2019-05-27 11:39:16 -04:00
"quotes": ["warn", "single"],
2019-05-27 11:45:24 -04:00
"indent": ["warn", 4],
2019-05-27 13:26:29 -04:00
"no-multi-spaces": ["warn", {"ignoreEOLComments": true} ],
"comma-spacing": ["warn"],
2019-05-27 13:33:36 -04:00
"camelcase": ["warn", {"ignoreDestructuring": true ,"properties": "never"}],
"eol-last": ["warn", "always"],
2019-05-27 13:35:12 -04:00
"no-multiple-empty-lines": ["warn", {"max": 1}],
"prefer-const": "warn"
},
"settings": {
"react": {
"version": "detect"
}
}
}