Skip to content

Commit c28bca3

Browse files
committed
Make sure eslint-plugin-ie11 is applied to entire codebase
1 parent cf3ed84 commit c28bca3

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.eslintrc.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,11 @@ globals:
77
Set: false
88
Symbol: false
99

10+
plugins:
11+
- ie11
12+
13+
rules:
14+
ie11/no-collection-args: error
15+
ie11/no-for-in-const: error
16+
ie11/no-loop-func: warn
17+
ie11/no-weak-collections: error

test/.eslintrc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ env:
22
mocha: true
33

44
plugins:
5-
- ie11
65
- mocha
76

87
rules:
@@ -21,8 +20,3 @@ rules:
2120
mocha/no-sibling-hooks: error
2221
mocha/no-skipped-tests: warn
2322
mocha/no-top-level-hooks: error
24-
25-
ie11/no-collection-args: error
26-
ie11/no-for-in-const: error
27-
ie11/no-loop-func: warn
28-
ie11/no-weak-collections: error

0 commit comments

Comments
 (0)