42 lines
974 B
Plaintext
42 lines
974 B
Plaintext
{
|
|
"extends": "plugin:react/recommended",
|
|
// "parser": "babel-eslint",
|
|
"rules": {
|
|
"react/jsx-uses-react": 1,
|
|
"react/jsx-uses-vars": 1,
|
|
"react/react-in-jsx-scope": 1,
|
|
"react/jsx-tag-spacing": [0, {
|
|
"beforeSelfClosing": "always"
|
|
}],
|
|
"curly": [1],
|
|
"linebreak-style": [1, "unix"],
|
|
"semi": [1, "always"],
|
|
"comma-dangle": [0],
|
|
"no-unused-vars": [1, {
|
|
"vars": "all",
|
|
"args": "none",
|
|
"ignoreRestSiblings": true
|
|
}],
|
|
"no-console": [0],
|
|
"object-curly-spacing": [1, "always"],
|
|
"keyword-spacing": ["error"]
|
|
},
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"experimentalObjectRestSpread": true,
|
|
"jsx": true
|
|
},
|
|
"sourceType": "module"
|
|
},
|
|
"env": {
|
|
"es6": true,
|
|
"browser": true,
|
|
"node": false
|
|
},
|
|
"plugins": [
|
|
"jsx-a11y",
|
|
"react"
|
|
]
|
|
}
|
|
|