Skip to content

Commit 3130f16

Browse files
committed
Move typescript config into typescript config
1 parent bac8032 commit 3130f16

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/configs/browser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module.exports = {
33
browser: true
44
},
55
plugins: ['github', 'escompat'],
6-
extends: ['plugin:escompat/recommended', 'plugin:escompat/typescript'],
6+
extends: ['plugin:escompat/recommended'],
77
rules: {
88
'escompat/no-dynamic-imports': 'off',
99
'github/async-currenttarget': 'error',

lib/configs/typescript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
2-
extends: ['plugin:@typescript-eslint/recommended', 'prettier'],
2+
extends: ['plugin:@typescript-eslint/recommended', 'prettier', 'plugin:escompat/typescript-2020'],
33
parser: '@typescript-eslint/parser',
44
plugins: ['@typescript-eslint', 'github'],
55
rules: {

0 commit comments

Comments
 (0)