mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-15 18:14:17 +02:00
Extend ESLint to cover all JS files and drop JSCS.
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
"ecmaVersion": 5,
|
||||
"sourceType": "script"
|
||||
},
|
||||
"extends": "../.eslintrc.json",
|
||||
"rules": {
|
||||
// Best Practices
|
||||
"consistent-return": "off",
|
||||
@@ -23,12 +24,18 @@
|
||||
// Strict Mode
|
||||
"strict": "off",
|
||||
|
||||
// NodeJS and CommonJS
|
||||
"global-require": "off",
|
||||
"no-process-env": "off",
|
||||
"no-process-exit": "off",
|
||||
|
||||
// Stylistic Issues
|
||||
"brace-style": "off",
|
||||
"func-style": "off",
|
||||
"max-statements-per-line": "off",
|
||||
"object-curly-newline": "off",
|
||||
"object-property-newline": "off",
|
||||
"spaced-comment": "off",
|
||||
|
||||
// ECMAScript 6
|
||||
"no-var": "off",
|
||||
|
Reference in New Issue
Block a user