8000 Fix: Allow class syntax (#19) · gulpjs/eslint-config-gulp@37ec851 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit 37ec851

Browse files
authored
Fix: Allow class syntax (#19)
This is needed to extend streamx classes.
1 parent 6f5a3a8 commit 37ec851

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

eslint.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,13 @@ var config = {
1414
"es2017": true
1515
},
1616
"rules": {
17-
"node/no-unsupported-features/es-syntax": [2, {"version": ">=0.10"}],
17+
"node/no-unsupported-features/es-syntax": [
18+
2,
19+
{
20+
"version": ">=0.10",
21+
"ignores": ["classes"]
22+
}
23+
],
1824
"block-scoped-var": 2,
1925
"eqeqeq": [2, "smart"],
2026
"max-depth": [1, 3],

0 commit comments

Comments
 (0)
0