fix lint rule order

This commit is contained in:
Aarni Halinen
2021-08-23 18:41:09 +03:00
parent bfbdbb7175
commit f166292fa9
+6 -2
View File
@@ -1,9 +1,12 @@
module.exports = {
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/recommended",
"airbnb",
"airbnb-typescript",
"airbnb/hooks",
"plugin:import/recommended",
"plugin:@typescript-eslint/recommended",
// "plugin:@typescript-eslint/recommended-requiring-type-checking",
"next/core-web-vitals",
],
parser: "@typescript-eslint/parser",
@@ -29,6 +32,7 @@ module.exports = {
"error",
"double"
],
"react/jsx-props-no-spreading": "off",
"react/jsx-one-expression-per-line": "off",
// Temp
"react/no-array-index-key": "warn",