generated from algolia/pwa-ecom-ui-template
-
Notifications
You must be signed in to change notification settings - Fork 14
/
.eslintrc
33 lines (33 loc) · 795 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
27
28
29
30
31
32
33
{
"extends": [
"algolia",
"algolia/react",
"algolia/typescript",
"next",
"next/core-web-vitals",
"prettier"
],
"plugins": ["unused-imports"],
"globals": { "React": true, "JSX": true },
"rules": {
"no-undef": "off",
"@typescript-eslint/no-unused-vars": "off",
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-vars": "error",
"react/function-component-definition": [
2,
{
"namedComponents": "function-declaration"
}
],
"@typescript-eslint/explicit-function-return-type": "off",
"spaced-comment": ["error", "always", { "markers": ["/"] }],
"no-param-reassign": [
"error",
{
"props": true,
"ignorePropertyModificationsFor": ["accu"]
}
]
}
}