https://github.com/twbs/bootstrap
Revision f94f497ad5c3108b7f95242af586592cf274b9bd authored by GeoSot on 08 June 2021, 07:38:27 UTC, committed by Mark Otto on 23 June 2021, 02:50:21 UTC
* avoid extra work, creating ids * simplify selectors and constrain search inside `config.target`
1 parent a816615
Tip revision: f94f497ad5c3108b7f95242af586592cf274b9bd authored by GeoSot on 08 June 2021, 07:38:27 UTC
ScrollSpy: Make Proper use of the SelectorEngine
ScrollSpy: Make Proper use of the SelectorEngine
Tip revision: f94f497
.eslintrc.json
{
"root": true,
"extends": [
"plugin:import/errors",
"plugin:import/warnings",
"plugin:unicorn/recommended",
"xo",
"xo/browser"
],
"rules": {
"capitalized-comments": "off",
"indent": [
"error",
2,
{
"MemberExpression": "off",
"SwitchCase": 1
}
],
"max-params": [
"warn",
5
],
"multiline-ternary": [
"error",
"always-multiline"
],
"new-cap": [
"error",
{
"properties": false
}
],
"no-console": "error",
"object-curly-spacing": [
"error",
"always"
],
"semi": [
"error",
"never"
],
"unicorn/consistent-function-scoping": "off",
"unicorn/explicit-length-check": "off",
"unicorn/no-array-callback-reference": "off",
"unicorn/no-array-for-each": "off",
"unicorn/no-for-loop": "off",
"unicorn/no-null": "off",
"unicorn/no-unused-properties": "error",
"unicorn/no-useless-undefined": "off",
"unicorn/prefer-dom-node-append": "off",
"unicorn/prefer-dom-node-dataset": "off",
"unicorn/prefer-dom-node-remove": "off",
"unicorn/prefer-module": "off",
"unicorn/prefer-query-selector": "off",
"unicorn/prefer-spread": "off",
"unicorn/prevent-abbreviations": "off"
}
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...