Skip to content

Commit 6914c9c

Browse files
committed
Selector: Disable the ESLint indent rule in the ESLint config
That way, `/* eslint-enable */` comments won't re-enable the rule.
1 parent e1d4783 commit 6914c9c

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/.eslintrc.json

+7
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@
3333
"globals": {
3434
"jQuery": false
3535
}
36+
},
37+
38+
{
39+
"files": "selector.js",
40+
"rules": {
41+
"indent": "off"
42+
}
3643
}
3744
]
3845
}

src/selector.js

-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ var preferredDoc = document,
2727

2828
( function() {
2929

30-
/* eslint-disable indent */
31-
3230
var i,
3331
Expr,
3432
outermostContext,

0 commit comments

Comments
 (0)