forked from hexbear-collective/hexbear-frontend
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
86 lines
2.0 KiB
86 lines
2.0 KiB
{
|
|
"root": true,
|
|
"env": {
|
|
"browser": true,
|
|
"jest": true
|
|
},
|
|
"plugins": [
|
|
"@typescript-eslint",
|
|
"jane",
|
|
"prettier"
|
|
],
|
|
"settings": {
|
|
"react": {
|
|
"version": "detect"
|
|
}
|
|
},
|
|
"extends": [
|
|
"plugin:jane/recommended",
|
|
"plugin:jane/react",
|
|
"plugin:jane/typescript",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"prettier",
|
|
"prettier/react"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"rules": {
|
|
"@typescript-eslint/camelcase": 0,
|
|
"@typescript-eslint/member-delimiter-style": 0,
|
|
"@typescript-eslint/no-empty-interface": 0,
|
|
"@typescript-eslint/no-explicit-any": 0,
|
|
"@typescript-eslint/no-this-alias": 0,
|
|
"@typescript-eslint/no-unused-vars": 0,
|
|
"@typescript-eslint/no-use-before-define": 0,
|
|
"@typescript-eslint/ban-ts-comment": 0,
|
|
"@typescript-eslint/no-useless-constructor": 0,
|
|
"arrow-body-style": 0,
|
|
"curly": 0,
|
|
"eol-last": 0,
|
|
"eqeqeq": 0,
|
|
"func-style": 0,
|
|
"import/no-duplicates": 0,
|
|
"max-statements": 0,
|
|
"max-params": 0,
|
|
"new-cap": 0,
|
|
"no-console": 0,
|
|
"no-duplicate-imports": 0,
|
|
"no-extra-parens": 0,
|
|
"no-return-assign": 0,
|
|
"no-throw-literal": 0,
|
|
"no-trailing-spaces": 0,
|
|
"no-unused-expressions": 0,
|
|
"no-useless-constructor": 0,
|
|
"no-useless-escape": 0,
|
|
"no-var": 0,
|
|
"prefer-const": 0,
|
|
"prefer-rest-params": 0,
|
|
"quote-props": 0,
|
|
"unicorn/filename-case": 0,
|
|
"react/no-direct-mutation-state": 1,
|
|
"react/no-access-state-in-setstate": 1,
|
|
"react/jsx-key": 2,
|
|
"jsx-a11y/no-onchange": 0,
|
|
"jsx-a11y/aria-role": 1,
|
|
"jsx-a11y/click-events-have-key-events": 1,
|
|
"react/no-did-update-set-state": 0,
|
|
"prettier/prettier": [
|
|
"error",
|
|
{
|
|
"trailingComma": "es5",
|
|
"singleQuote": true,
|
|
"printWidth": 80,
|
|
"arrowParens": "avoid"
|
|
}
|
|
]
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"*.js"
|
|
],
|
|
"rules": {
|
|
"@typescript-eslint/no-var-requires": 0
|
|
}
|
|
}
|
|
]
|
|
}
|