fix lint rule order
This commit is contained in:
+6
-2
@@ -1,9 +1,12 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
extends: [
|
extends: [
|
||||||
"eslint:recommended",
|
"eslint:recommended",
|
||||||
"plugin:@typescript-eslint/recommended",
|
"airbnb",
|
||||||
"plugin:import/recommended",
|
|
||||||
"airbnb-typescript",
|
"airbnb-typescript",
|
||||||
|
"airbnb/hooks",
|
||||||
|
"plugin:import/recommended",
|
||||||
|
"plugin:@typescript-eslint/recommended",
|
||||||
|
// "plugin:@typescript-eslint/recommended-requiring-type-checking",
|
||||||
"next/core-web-vitals",
|
"next/core-web-vitals",
|
||||||
],
|
],
|
||||||
parser: "@typescript-eslint/parser",
|
parser: "@typescript-eslint/parser",
|
||||||
@@ -29,6 +32,7 @@ module.exports = {
|
|||||||
"error",
|
"error",
|
||||||
"double"
|
"double"
|
||||||
],
|
],
|
||||||
|
"react/jsx-props-no-spreading": "off",
|
||||||
"react/jsx-one-expression-per-line": "off",
|
"react/jsx-one-expression-per-line": "off",
|
||||||
// Temp
|
// Temp
|
||||||
"react/no-array-index-key": "warn",
|
"react/no-array-index-key": "warn",
|
||||||
|
|||||||
Reference in New Issue
Block a user