Skip to content

Commit 12f0a80

Browse files
committed
disallow the use of console
1 parent 2e4d14f commit 12f0a80

File tree

1 file changed

+28
-26
lines changed

1 file changed

+28
-26
lines changed

.eslintrc

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -15,31 +15,33 @@
1515
}
1616
},
1717
"rules": {
18-
"indent": [
19-
"error",
20-
2
21-
],
22-
"linebreak-style": [
23-
"error",
24-
"unix"
25-
],
26-
"quotes": [
27-
"error",
28-
"single"
29-
],
30-
"semi": [
31-
"error",
32-
"always"
33-
],
34-
"no-console": "off",
35-
"no-unused-vars": [
36-
"error",
37-
{
38-
"vars": "all",
39-
"args": "none",
40-
"ignoreRestSiblings": false
41-
}
42-
]
43-
}
18+
"indent": [
19+
"error",
20+
2
21+
],
22+
"linebreak-style": [
23+
"error",
24+
"unix"
25+
],
26+
"quotes": [
27+
"error",
28+
"single"
29+
],
30+
"semi": [
31+
"error",
32+
"always"
33+
],
34+
"no-console": [
35+
"error"
36+
],
37+
"no-unused-vars": [
38+
"error",
39+
{
40+
"vars": "all",
41+
"args": "none",
42+
"ignoreRestSiblings": false
43+
}
44+
]
4445
}
46+
}
4547

0 commit comments

Comments
 (0)