12345678910111213141516171819202122232425262728293031 |
- {
- // 请不需要修改 extends
- "extends": ["airbnb-base", "appx"],
- // 根据需要修改 rules,详见 http://eslint.org/docs/rules/
- // 推荐的编码风格 https://github.com/airbnb/javascript
- "rules": {
- "arrow-body-style": [0],
- "class-methods-use-this": [0],
- "consistent-return": [0],
- "generator-star-spacing": [0],
- "global-require": [0],
- "import/extensions": [0],
- "import/first": [0],
- "import/no-extraneous-dependencies": [0],
- "import/prefer-default-export": [0],
- "import/no-unresolved": [0],
- "linebreak-style": [0],
- "no-bitwise": [0],
- "no-cond-assign": [0],
- "no-console": [0],
- "no-else-return": [0],
- "no-nested-ternary": [0],
- "no-restricted-syntax": [0],
- "no-trailing-spaces": [0],
- "no-use-before-define": [0],
- "no-useless-escape": [0],
- "prefer-template": [0],
- "require-yield": [1]
- }
- }
|