代码拉取完成,页面将自动刷新
---
parser: babel-eslint
extends:
- ./node_modules/fbjs-scripts/eslint/.eslintrc.js
plugins:
- react
globals:
chrome: false
React$Element: false
React$Node: false
rules:
brace-style: [2, 1tbs]
comma-dangle: [2, always-multiline]
consistent-return: 2
dot-location: [2, property]
dot-notation: 2
eol-last: 2
indent: [2, 2, {SwitchCase: 1}]
jsx-quotes: 2
keyword-spacing: 2
max-len: 0
no-multi-spaces: 2
no-redeclare: 2
no-shadow: 2
no-unused-expressions: 2
no-unused-vars: [2, {args: none}]
prefer-const: 2
quotes: [2, single, avoid-escape]
space-before-blocks: 2
space-before-function-paren: 2
# JSX
# Our transforms set this automatically
react/display-name: 0
react/jsx-boolean-value: [2, always]
react/jsx-no-undef: 2
react/jsx-sort-prop-types: 0
react/jsx-sort-props: 0
react/jsx-uses-react: 2
react/jsx-uses-vars: 2
react/no-unknown-property: 2
react/react-in-jsx-scope: 2
react/self-closing-comp: 2
react/wrap-multilines: [2, {declaration: false, assignment: false}]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。