Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
perrin4869 committed May 1, 2024
1 parent ae54b80 commit 70d02f7
Showing 1 changed file with 22 additions and 10 deletions.
32 changes: 22 additions & 10 deletions .eslintrc.json
@@ -1,5 +1,10 @@
{
"extends": ["airbnb", "plugin:react/jsx-runtime", "plugin:unicorn/recommended", "plugin:eslint-comments/recommended"],
"extends": [
"airbnb",
"plugin:react/jsx-runtime",
"plugin:unicorn/recommended",
"plugin:eslint-comments/recommended"
],
"plugins": ["unicorn", "eslint-comments"],
"env": {
"browser": true
Expand All @@ -10,16 +15,23 @@
},
"rules": {
"max-len": ["error", { "code": 100, "ignoreComments": true }],
"react/function-component-definition": [2, {"namedComponents":"arrow-function"}],
"import/no-extraneous-dependencies": ["error", {
"devDependencies": [
"test/**",
"karma.conf.cjs",
"examples/rollup.config.js"
]
}],
"unicorn/prevent-abbreviations": 0,
"react/function-component-definition": [
2,
{ "namedComponents": "arrow-function" }
],
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"test/**",
"karma.conf.cjs",
"examples/rollup.config.js"
]
}
],
"unicorn/no-null": 0,
"unicorn/prevent-abbreviations": 0,
"unicorn/no-anonymous-default-export": 0,
"eslint-comments/no-unused-disable": "error"
},
"overrides": [
Expand Down

0 comments on commit 70d02f7

Please sign in to comment.