Skip to content

Commit 6118b4e

Browse files
committed
feat(eslint-config): minor tweaks
1 parent d10c4cf commit 6118b4e

File tree

5 files changed

+3
-5
lines changed

5 files changed

+3
-5
lines changed

packages/eslint-config/src/esm.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ module.exports = {
1313
noUselessIndex: false
1414
}
1515
],
16-
'import/dynamic-import-chunkname': 'off',
1716
'import/extensions': ['error', 'ignorePackages']
1817
}
1918
}

packages/eslint-config/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = {
2020
},
2121
overrides: [
2222
{
23-
files: '*.config.js',
23+
files: ['*.config.js', '*.config.ts'],
2424
rules: {
2525
'import/no-default-export': 'off',
2626
'import/no-anonymous-default-export': 'off'

packages/eslint-config/src/jest.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ module.exports = {
3737
'no-loop-func': 'off',
3838
'@typescript-eslint/no-misused-promises': 'off',
3939
'@typescript-eslint/no-empty-function': 'off',
40-
'@typescript-eslint/naming-convention': 'off'
40+
'@typescript-eslint/naming-convention': 'off',
41+
'@typescript-eslint/no-use-before-define': 'off'
4142
}
4243
}
4344
]

packages/eslint-config/src/rules/es6.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ module.exports = {
6868
allowObject: true
6969
}
7070
],
71-
'import/dynamic-import-chunkname': 'error',
7271

7372
// Other
7473
'arrow-body-style': ['error', 'as-needed'],

packages/eslint-config/src/tsm.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ module.exports = {
1313
noUselessIndex: false
1414
}
1515
],
16-
'import/dynamic-import-chunkname': 'off',
1716
'import/extensions': ['error', 'ignorePackages']
1817
}
1918
}

0 commit comments

Comments
 (0)