forked from Mews-MIS/Mews-Client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
39 lines (39 loc) · 839 Bytes
/
.eslintrc.json
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
30
31
32
33
34
35
36
37
38
39
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"parser": "@typescript-eslint/parser",
"extends": [
"next",
"next/core-web-vitals",
"eslint:recommended",
"plugin:react/recommended",
"airbnb",
"airbnb/hooks",
"airbnb-typescript",
"plugin:prettier/recommended"
],
"settings": {
"next": {
"version": "detect",
"rootDir": "packages/client/"
}
},
"parserOptions": {
"project": ["tsconfig.json"],
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["react", "react-hooks", "@typescript-eslint"],
"rules": {
"prettier/prettier": "error",
"react/react-in-jsx-scope": "off",
"react/function-component-definition": "off",
"react/require-default-props": "off"
}
}