mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
fe257823ec
* Pass docs js through Babel * Use ES6 in docs js * Only run babel on src files * Allow babel in Hugo * Update scripts.html * Inherit from the root .eslintrc.json * Use `Array.from` * Drop Babel from docs * Prefer template * replace IIFE with arrow functions Co-authored-by: XhmikosR <xhmikosr@gmail.com> Co-authored-by: GeoSot <geo.sotis@gmail.com>
18 lines
325 B
JSON
18 lines
325 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"node": false
|
|
},
|
|
"parserOptions": {
|
|
"sourceType": "script"
|
|
},
|
|
"extends": "../.eslintrc.json",
|
|
"rules": {
|
|
"no-new": "off",
|
|
"prefer-template": "error",
|
|
"strict": "error",
|
|
"unicorn/no-array-for-each": "off",
|
|
"unicorn/numeric-separators-style": "off"
|
|
}
|
|
}
|