Skip to content

Commit

Permalink
Unnecessary repetition
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlancollins committed May 28, 2023
1 parent a78df2c commit 528f570
Show file tree
Hide file tree
Showing 15 changed files with 4 additions and 29 deletions.
2 changes: 0 additions & 2 deletions packages/codemods/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ const config = {
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.eslint.json',
sourceType: 'module',
ecmaVersion: 2020,
},
overrides: [
{
Expand Down
2 changes: 0 additions & 2 deletions packages/eslint-plugin-query/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ const config = {
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.eslint.json',
sourceType: 'module',
ecmaVersion: 2020,
},
}

Expand Down
2 changes: 0 additions & 2 deletions packages/query-async-storage-persister/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ const config = {
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.eslint.json',
sourceType: 'module',
ecmaVersion: 2020,
},
}

Expand Down
2 changes: 0 additions & 2 deletions packages/query-broadcast-client-experimental/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ const config = {
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.eslint.json',
sourceType: 'module',
ecmaVersion: 2020,
},
}

Expand Down
1 change: 0 additions & 1 deletion packages/query-core/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const config = {
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.eslint.json',
sourceType: 'module',
},
}

Expand Down
2 changes: 0 additions & 2 deletions packages/query-devtools/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ const config = {
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.eslint.json',
sourceType: 'module',
ecmaVersion: 2020,
},
}

Expand Down
2 changes: 0 additions & 2 deletions packages/query-persist-client-core/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ const config = {
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.eslint.json',
sourceType: 'module',
ecmaVersion: 2020,
},
}

Expand Down
2 changes: 0 additions & 2 deletions packages/query-sync-storage-persister/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ const config = {
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.eslint.json',
sourceType: 'module',
ecmaVersion: 2020,
},
}

Expand Down
2 changes: 0 additions & 2 deletions packages/react-query-devtools/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ const config = {
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.eslint.json',
sourceType: 'module',
ecmaVersion: 2020,
},
rules: {
'react/jsx-key': ['error', { checkFragmentShorthand: true }],
Expand Down
2 changes: 0 additions & 2 deletions packages/react-query-persist-client/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ const config = {
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.eslint.json',
sourceType: 'module',
ecmaVersion: 2020,
},
rules: {
'react/jsx-key': ['error', { checkFragmentShorthand: true }],
Expand Down
2 changes: 0 additions & 2 deletions packages/react-query/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ const config = {
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.eslint.json',
sourceType: 'module',
ecmaVersion: 2020,
},
rules: {
'react/jsx-key': ['error', { checkFragmentShorthand: true }],
Expand Down
2 changes: 0 additions & 2 deletions packages/solid-query/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ const config = {
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.eslint.json',
sourceType: 'module',
ecmaVersion: 2020,
},
}

Expand Down
4 changes: 2 additions & 2 deletions packages/svelte-query-devtools/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// @ts-check

/** @type {import('eslint').Linter.Config} */
const config = {
root: true,
extends: ['../../.eslintrc.cjs', 'plugin:svelte/recommended'],
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.json',
sourceType: 'module',
ecmaVersion: 2020,
extraFileExtensions: ['.svelte'],
},
ignorePatterns: ['*.config.*', '*.setup.*', '**/build/*'],
Expand Down
4 changes: 2 additions & 2 deletions packages/svelte-query/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// @ts-check

/** @type {import('eslint').Linter.Config} */
const config = {
root: true,
extends: ['../../.eslintrc.cjs', 'plugin:svelte/recommended'],
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.json',
sourceType: 'module',
ecmaVersion: 2020,
extraFileExtensions: ['.svelte'],
},
ignorePatterns: ['*.config.*', '*.setup.*', '**/build/*'],
Expand Down
2 changes: 0 additions & 2 deletions packages/vue-query/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ const config = {
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.eslint.json',
sourceType: 'module',
ecmaVersion: 2020,
},
}

Expand Down

0 comments on commit 528f570

Please sign in to comment.