代码拉取完成,页面将自动刷新
{
"extends": [
"recommended/node",
"plugin:prettier/recommended",
"plugin:import/react"
],
"rules": {
"comma-dangle": ["warn", "only-multiline"],
"no-unused-vars": ["error", { "vars": "all", "args": "none", "ignoreRestSiblings": false }],
"camelcase": "off",
"object-shorthand": "off",
"guard-for-in": "warn",
"arrow-body-style": "off",
"consistent-return": "warn",
"no-throw-literal": "warn",
"quote-props": "off",
"new-cap": "off",
"default-case": "off",
"no-empty": "warn",
"curly": "off",
"padded-blocks": "off",
"no-use-before-define": "warn",
"no-param-reassign": ["error", { "props": false }],
"max-len": "off",
"no-underscore-dangle": "off",
"strict": "off",
"global-require": "off",
"no-restricted-syntax": "off",
"no-multi-spaces": "off",
"spaced-comment": "off",
"no-trailing-spaces": "off",
"key-spacing": "off",
"func-names": "off",
"no-empty-function": "off",
"no-console": "warn",
"import/no-extraneous-dependencies": "off",
"import/no-commonjs": "off",
"import/no-nodejs-modules": "off",
"no-sync": "off",
"eqeqeq": "off",
"require-yield": "off",
"class-methods-use-this": "off",
"prettier/prettier": "error",
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error"
},
"env": {
"jest": true,
"browser": true,
"jquery": true
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx"]
}
}
},
"plugins": ["react", "prettier"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。