Skip to content

Commit 6649e60

Browse files
committed
Add eslint rule to enforce ASCII-only identifiers
1 parent 53a7de7 commit 6649e60

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.eslintrc

+5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
"default-case": 2,
99
"dot-notation": 2,
1010
"eqeqeq": 2,
11+
"id-match": ["error", "^[\x00-\x7F]+$", {
12+
"properties": true,
13+
"onlyDeclarations": false,
14+
"ignoreDestructuring": false
15+
}],
1116
"indent": [
1217
2,
1318
2,

0 commit comments

Comments
 (0)