mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-30 22:52:24 +01:00
Enable eslint no-console rule except for build directory (#29585)
This commit is contained in:
parent
9f4e72d8c1
commit
b3dfcdc7ed
@ -28,6 +28,7 @@
|
|||||||
"always-multiline"
|
"always-multiline"
|
||||||
],
|
],
|
||||||
"new-cap": "off",
|
"new-cap": "off",
|
||||||
|
"no-console": "error",
|
||||||
"object-curly-spacing": [
|
"object-curly-spacing": [
|
||||||
"error",
|
"error",
|
||||||
"always"
|
"always"
|
||||||
|
@ -6,5 +6,8 @@
|
|||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
"sourceType": "script"
|
"sourceType": "script"
|
||||||
},
|
},
|
||||||
"extends": "../.eslintrc.json"
|
"extends": "../.eslintrc.json",
|
||||||
|
"rules": {
|
||||||
|
"no-console": "off"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user