forked from healthpackdev/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
executable file
·26 lines (26 loc) · 791 Bytes
/
.eslintrc
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
{
"extends": ["next", "prettier"],
"env": {
"es6": true,
"browser": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json",
"sourceType": "module"
},
"ignorePatterns": ["*.config.js", "*.d.ts", "*.config.ts", "build/*", "*.js"],
"plugins": ["@typescript-eslint", "prettier"],
"rules": {
"prettier/prettier": ["error"],
"@typescript-eslint/array-type": ["error"],
"@typescript-eslint/no-unused-vars": ["warn"],
"react/react-in-jsx-scope": ["off"],
"react/jsx-props-no-spreading": ["off"],
"import/no-extraneous-dependencies": ["off"],
"react/prop-types": ["off"],
"react/display-name": ["off"],
"jsx-a11y/anchor-is-valid": ["off"],
"@typescript-eslint/no-shadow": ["off"]
}
}