diff options
Diffstat (limited to 'vendor/twbs/bootstrap/.eslintrc.json')
-rw-r--r-- | vendor/twbs/bootstrap/.eslintrc.json | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/vendor/twbs/bootstrap/.eslintrc.json b/vendor/twbs/bootstrap/.eslintrc.json index 3d86cbdef..9bd404dfa 100644 --- a/vendor/twbs/bootstrap/.eslintrc.json +++ b/vendor/twbs/bootstrap/.eslintrc.json @@ -8,7 +8,12 @@ "xo/browser" ], "rules": { + "arrow-body-style": "off", "capitalized-comments": "off", + "comma-dangle": [ + "error", + "never" + ], "indent": [ "error", 2, @@ -36,22 +41,26 @@ "error", "always" ], + "operator-linebreak": [ + "error", + "after" + ], "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-array-method-this-argument": "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/numeric-separators-style": "off", + "unicorn/prefer-array-flat": "off", "unicorn/prefer-dom-node-dataset": "off", - "unicorn/prefer-dom-node-remove": "off", "unicorn/prefer-module": "off", + "unicorn/prefer-prototype-methods": "off", "unicorn/prefer-query-selector": "off", "unicorn/prefer-spread": "off", "unicorn/prevent-abbreviations": "off" |