mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-07 04:54:24 +01:00
Update .eslintrc.json
Enforce ES5 for tests
This commit is contained in:
parent
5d066caace
commit
1b48122641
@ -2,11 +2,10 @@
|
||||
"extends": [
|
||||
"../../../.eslintrc.json"
|
||||
],
|
||||
"overrides": [
|
||||
{
|
||||
"files": [
|
||||
"*.js"
|
||||
],
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 5,
|
||||
"sourceType": "script"
|
||||
},
|
||||
"env": {
|
||||
"es6": false,
|
||||
"jquery": true,
|
||||
@ -23,7 +22,6 @@
|
||||
"Toast": false
|
||||
},
|
||||
"rules": {
|
||||
// ES6
|
||||
"no-var": "off",
|
||||
"object-shorthand": "off",
|
||||
"prefer-arrow-callback": "off",
|
||||
@ -31,5 +29,3 @@
|
||||
"prefer-rest-params": "off"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user