codies/frontend/.eslintrc.json

38 lines
1.1 KiB
JSON
Raw Normal View History

2020-05-23 21:51:11 +00:00
{
"extends": [
"eslint:recommended",
"prettier",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended"
],
"env": {
"browser": true,
"es6": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": ["@typescript-eslint/eslint-plugin", "simple-import-sort"],
"rules": {
"eqeqeq": "error",
"no-undef": 0,
"simple-import-sort/sort": "warn",
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/no-empty-interface": 0,
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-namespace": 0,
"@typescript-eslint/no-use-before-define": 0,
"@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
"@typescript-eslint/explicit-member-accessibility": "warn"
},
"settings": {
"react": {
"version": "detect"
}
}
}