-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
29 lines (29 loc) · 878 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
module.exports = {
extends: "airbnb-typescript-prettier",
parser: "@typescript-eslint/parser",
parserOptions: {
project: "./tsconfig.json",
tsconfigRootDir: __dirname,
sourceType: "module",
},
rules: {
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/no-unused-vars": "off",
"import/extensions": [
"error",
"ignorePackages",
{
js: "never",
ts: "never",
tsx: "never",
},
],
"import/prefer-default-export": "off",
"react/destructuring-assignment": "off",
"react/react-in-jsx-scope": "off",
"react/button-has-type": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"jsx-a11y/anchor-is-valid": "off",
},
};