eslint配置
配置eslintrc.json
rules节点下
"indent": ["error", 4],
"max-len": ["warn", 140],
"linebreak-style": ["warn", "windows"],
"array-callback-return": ["warn"],
"no-unused-vars": ["warn"],
"no-plusplus": "off",
"function-paren-newline": "off",
"arrow-parens": "off",

浙公网安备 33010602011771号