0
0
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:
XhmikosR 2020-10-05 15:55:17 +03:00
parent 5d066caace
commit 1b48122641

View File

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