12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- module.exports = {
-
- root: true,
-
- parser: 'babel-eslint',
-
- parserOptions: {
- sourceType: 'module'
- },
-
- env: {
- browser: true,
- },
-
-
- extends: 'standard',
-
-
- plugins: [
- 'html'
- ],
-
-
-
-
-
-
-
- rules: {
- "indent":["off",2],
- "no-console": "error",
- "no-alert": "error",
- "no-debugger": "error",
- "semi": 0,
- "eqeqeq": "off",
- "no-tabs": "error",
- "no-unreachable": "error",
- "eol-last": "error",
- "no-new": "error",
- "quotes": "error",
- "no-unused-vars": 0,
- "no-trailing-spaces": "error",
- "space-before-function-paren": 0,
- "no-undef": "error",
- "curly": ["error", "all"],
- 'arrow-parens': "error",
- 'generator-star-spacing': "error",
- "space-before-function-paren": 0,
- "space-in-parens": 0,
- "space-infix-ops": 0,
- "space-before-blocks": 0,
- "spaced-comment":0,
- "arrow-body-style": ["error", "always"],
- "arrow-parens": ["error", "always"],
- "arrow-spacing": ["error", { "before": true, "after": true }],
- "no-const-assign": "error",
- "template-curly-spacing": ["error", "never"],
- "no-multi-spaces": 0,
- "no-whitespace-before-property": 0,
- "keyword-spacing":0,
- "no-useless-escape": 0,
- },
- }
|