mirror of https://github.com/lukechilds/rollup.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
905 B
31 lines
905 B
{
|
|
"root": true,
|
|
"rules": {
|
|
"indent": [ 2, "tab", { "SwitchCase": 1 } ],
|
|
"semi": [ 2, "always" ],
|
|
"keyword-spacing": [ 2, { "before": true, "after": true } ],
|
|
"space-before-blocks": [ 2, "always" ],
|
|
"space-before-function-paren": [ 2, "always" ],
|
|
"no-mixed-spaces-and-tabs": [ 2, "smart-tabs" ],
|
|
"no-cond-assign": [ 0 ],
|
|
"object-shorthand": [2, "always" ],
|
|
"no-const-assign": 2,
|
|
"no-class-assign": 2,
|
|
"no-this-before-super": 2,
|
|
"no-var": 2,
|
|
"quote-props": [ 2, "as-needed" ],
|
|
"one-var": [ 2, "never" ],
|
|
"prefer-arrow-callback": 2,
|
|
"arrow-spacing": 2
|
|
},
|
|
"env": {
|
|
"es6": true,
|
|
"browser": true,
|
|
"node": true
|
|
},
|
|
"extends": "eslint:recommended",
|
|
"parserOptions": {
|
|
"ecmaVersion": 6,
|
|
"sourceType": "module"
|
|
}
|
|
}
|
|
|