Skip to content

Commit fd9befd

Browse files
committed
revert additional configs to eslintrc
1 parent 99d0c5e commit fd9befd

File tree

2 files changed

+2
-24
lines changed

2 files changed

+2
-24
lines changed

Diff for: packages/create-svelte/shared/+eslint+prettier+typescript/.eslintrc.cjs

+1-12
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,7 @@ module.exports = {
44
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
55
plugins: ['svelte3', '@typescript-eslint'],
66
ignorePatterns: ['*.cjs'],
7-
overrides: [
8-
{ files: ['*.svelte'], processor: 'svelte3/svelte3' },
9-
{
10-
files: ['*.ts'],
11-
rules: {
12-
'@typescript-eslint/explicit-module-boundary-types': ['warn']
13-
}
14-
}
15-
],
7+
overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
168
settings: {
179
'svelte3/typescript': () => require('typescript')
1810
},
@@ -24,8 +16,5 @@ module.exports = {
2416
browser: true,
2517
es2017: true,
2618
node: true
27-
},
28-
rules: {
29-
'@typescript-eslint/explicit-module-boundary-types': 'off'
3019
}
3120
};

Diff for: packages/create-svelte/shared/+eslint+typescript/.eslintrc.cjs

+1-12
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,7 @@ module.exports = {
44
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
55
plugins: ['svelte3', '@typescript-eslint'],
66
ignorePatterns: ['*.cjs'],
7-
overrides: [
8-
{ files: ['*.svelte'], processor: 'svelte3/svelte3' },
9-
{
10-
files: ['*.ts'],
11-
rules: {
12-
'@typescript-eslint/explicit-module-boundary-types': ['warn']
13-
}
14-
}
15-
],
7+
overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
168
settings: {
179
'svelte3/typescript': () => require('typescript')
1810
},
@@ -24,8 +16,5 @@ module.exports = {
2416
browser: true,
2517
es2017: true,
2618
node: true
27-
},
28-
rules: {
29-
'@typescript-eslint/explicit-module-boundary-types': 'off'
3019
}
3120
};

0 commit comments

Comments
 (0)