Skip to content

Commit

Permalink
feat(config/eslint): disable 'import/consistent-type-specifier-style'…
Browse files Browse the repository at this point in the history
… rule
  • Loading branch information
jrolfs committed Jan 8, 2024
1 parent afcff08 commit 9f3b26b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@
"no-console": "off",
"no-nested-ternary": "off",
"no-useless-catch": "off",
"jest/prefer-snapshot-hint": "off"
"jest/prefer-snapshot-hint": "off",
"import/consistent-type-specifier-style": "off"
}
},
"eslintIgnore": [
Expand Down
2 changes: 2 additions & 0 deletions src/config/__tests__/__snapshots__/eslintrc.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ Object {
"@typescript-eslint/no-throw-literal": "off",
"@typescript-eslint/return-await": "off",
"class-methods-use-this": "off",
"import/consistent-type-specifier-style": "off",
"import/no-extraneous-dependencies": Array [
"error",
Object {
Expand Down Expand Up @@ -200,6 +201,7 @@ Object {
"@typescript-eslint/no-throw-literal": "off",
"@typescript-eslint/return-await": "off",
"class-methods-use-this": "off",
"import/consistent-type-specifier-style": "off",
"import/no-extraneous-dependencies": Array [
"error",
Object {
Expand Down
1 change: 1 addition & 0 deletions src/config/helpers/build-eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ const buildConfig = ({withReact = false} = {}) => {
rules: {
'class-methods-use-this': 'off',
'import/prefer-default-export': 'off',
'import/consistent-type-specifier-style': 'off',
'import/no-extraneous-dependencies': [
'error',
{
Expand Down

0 comments on commit 9f3b26b

Please sign in to comment.