aboutsummaryrefslogblamecommitdiffstats
path: root/vendor/twbs/bootstrap/site/.eslintrc.json
blob: 0660ebbaf68232ea01665a7bc3447539b4fc9f60 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
 
               



                          




                                 
            
                              
                                  



                     







                                  





                          



                             
                              



                           

                                   




                      
                                       
                                                   

                                 

                                              

                                             
                                              

                                           

   
{
  "root": true,
  "parserOptions": {
    "ecmaVersion": 5,
    "sourceType": "script"
  },
  "extends": [
    "plugin:unicorn/recommended",
    "xo",
    "xo/browser"
  ],
  "rules": {
    "arrow-body-style": "off",
    "capitalized-comments": "off",
    "comma-dangle": [
      "error",
      "never"
    ],
    "indent": [
      "error",
      2,
      {
        "MemberExpression": "off",
        "SwitchCase": 1
      }
    ],
    "multiline-ternary": [
      "error",
      "always-multiline"
    ],
    "no-new": "off",
    "no-var": "off",
    "object-curly-spacing": [
      "error",
      "always"
    ],
    "object-shorthand": "off",
    "operator-linebreak": [
      "error",
      "after"
    ],
    "prefer-arrow-callback": "off",
    "prefer-destructuring": "off",
    "semi": [
      "error",
      "never"
    ],
    "strict": "error",
    "unicorn/no-array-for-each": "off",
    "unicorn/no-array-method-this-argument": "off",
    "unicorn/no-for-loop": "off",
    "unicorn/no-null": "off",
    "unicorn/numeric-separators-style": "off",
    "unicorn/prefer-array-flat": "off",
    "unicorn/prefer-dom-node-dataset": "off",
    "unicorn/prefer-module": "off",
    "unicorn/prefer-prototype-methods": "off",
    "unicorn/prefer-query-selector": "off",
    "unicorn/prevent-abbreviations": "off"
  }
}