forked from gsaivinay/awesome-chatbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
28 lines (28 loc) · 906 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
{
"root": true,
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "next/core-web-vitals"],
"plugins": ["simple-import-sort", "unused-imports"],
"rules": {
"unused-imports/no-unused-imports": "warn",
"simple-import-sort/imports": "warn",
"simple-import-sort/exports": "warn",
"eqeqeq": "warn",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"warn",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
],
"@typescript-eslint/no-non-null-assertion": "off",
"no-restricted-imports": [
"error",
{
"name": "react-i18next",
"message": "please import from 'next-i18next'"
}
]
}
}