0
0
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:
Pawel Wolak 2019-10-25 11:25:30 +02:00 committed by XhmikosR
parent 9f4e72d8c1
commit b3dfcdc7ed
2 changed files with 5 additions and 1 deletions

View File

@ -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"

View File

@ -6,5 +6,8 @@
"parserOptions": { "parserOptions": {
"sourceType": "script" "sourceType": "script"
}, },
"extends": "../.eslintrc.json" "extends": "../.eslintrc.json",
"rules": {
"no-console": "off"
}
} }