Skip to content

Commit e20aa83

Browse files
committed
Update for modern browsers
- adopt babel-preset-github (drop IE 11) - stop transforming custom element classes - flow strict
1 parent 657b61d commit e20aa83

13 files changed

Lines changed: 173 additions & 281 deletions

.eslintrc.json

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,30 @@
11
{
22
"extends": [
3-
"plugin:github/es6",
43
"plugin:github/browser",
4+
"plugin:github/es6",
55
"plugin:github/flow"
66
],
77
"rules": {
88
"github/no-then": "off",
99
"no-invalid-this": "off"
10-
}
10+
},
11+
"overrides": [
12+
{
13+
"files": "test/**/*.js",
14+
"rules": {
15+
"flowtype/require-valid-file-annotation": "off",
16+
"github/unescaped-html-literal": "off"
17+
}
18+
},
19+
{
20+
"files": "test/**/*.js",
21+
"excludedFiles": "test/karma.config.js",
22+
"env": {
23+
"mocha": true
24+
},
25+
"globals": {
26+
"assert": true
27+
}
28+
}
29+
]
1130
}

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ Browsers without native [custom element support][support] require a [polyfill][]
7777
- Chrome
7878
- Firefox
7979
- Safari
80-
- Internet Explorer 11
8180
- Microsoft Edge
8281

8382
[support]: https://caniuse.com/#feat=custom-elementsv1

0 commit comments

Comments
 (0)