Skip to content

Commit

Permalink
Unify eslint rules with React package
Browse files Browse the repository at this point in the history
  • Loading branch information
minevala committed Feb 2, 2023
1 parent f5de4a6 commit 81bf29d
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions packages/web-components/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
Expand Down Expand Up @@ -31,7 +30,17 @@
}],
"lines-between-class-members": [ "error", "always", { "exceptAfterSingleLine": true }],
"comma-dangle": [ "warn", "only-multiline" ],
"brace-style": [ "error", "stroustrup" ]
"brace-style": [ "error", "stroustrup" ],
"import/extensions": "off",
"import/export": "off"
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"],
"paths": ["src"]
}
}
},
"env": {
"browser": true,
Expand Down

0 comments on commit 81bf29d

Please sign in to comment.