1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-16 18:44:01 +02: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"
],
"new-cap": "off",
"no-console": "error",
"object-curly-spacing": [
"error",
"always"

View File

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