0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-31 23:52:18 +01:00
Bootstrap/js/tests/unit/.eslintrc.json

61 lines
1.1 KiB
JSON
Raw Normal View History

2016-10-25 23:18:52 +11:00
{
"root": true,
2016-10-25 23:18:52 +11:00
"env": {
"jquery": true,
"qunit": true
2016-10-25 23:18:52 +11:00
},
"globals": {
"bootstrap": false,
2018-03-09 23:17:57 +01:00
"sinon": false,
"Util": false,
"Sanitizer": false,
2018-06-09 18:23:13 +02:00
"Data": false,
"Alert": false,
"Button": false,
"Carousel": false,
"Simulator": false,
2017-08-21 09:11:37 +02:00
"Toast": false,
2017-08-24 22:22:02 +02:00
"EventHandler": false,
"Manipulator": false,
"SelectorEngine": false
2016-10-25 23:18:52 +11:00
},
"parserOptions": {
"ecmaVersion": 5,
"sourceType": "script"
},
"extends": [
"plugin:unicorn/recommended",
"xo",
"xo/browser"
],
2016-10-25 23:18:52 +11:00
"rules": {
"capitalized-comments": "off",
"indent": [
"error",
2,
{
"MemberExpression": "off",
"SwitchCase": 1
}
],
"multiline-ternary": [
"error",
"always-multiline"
],
2019-02-26 15:13:59 +02:00
"new-cap": "off",
"object-curly-spacing": [
"error",
"always"
],
"semi": [
"error",
"never"
],
"strict": "error",
"unicorn/filename-case": "off",
2019-02-26 15:13:59 +02:00
"unicorn/no-unused-properties": "error",
"unicorn/prefer-node-append": "off",
"unicorn/prefer-query-selector": "off"
2016-10-25 23:18:52 +11:00
}
}