2016-03-09 10:13:16 +00:00
|
|
|
{
|
|
|
|
"extends": "eslint:recommended",
|
|
|
|
"rules": {
|
|
|
|
"no-undef": "off",
|
|
|
|
"no-unused-vars": "off",
|
|
|
|
|
|
|
|
"eqeqeq": ["warn", "smart"],
|
|
|
|
"no-console": "warn",
|
|
|
|
"no-loop-func": "warn",
|
|
|
|
|
|
|
|
"block-spacing": "error",
|
|
|
|
"camelcase": "error",
|
|
|
|
"comma-spacing": "error",
|
|
|
|
"comma-style": "error",
|
|
|
|
"curly": ["error", "multi-line", "consistent"],
|
|
|
|
"indent": ["error", "tab"],
|
|
|
|
"no-alert": "error",
|
2016-03-17 15:06:34 +00:00
|
|
|
"no-mixed-spaces-and-tabs": ["error", "smart-tabs"],
|
2016-03-09 10:13:16 +00:00
|
|
|
"no-trailing-spaces": "error",
|
|
|
|
"quotes": ["error", "single", "avoid-escape"],
|
|
|
|
"semi": "error",
|
|
|
|
"space-before-blocks": "error"
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|