orionsoft-react-scripts
Version:
Orionsoft Configuration and scripts for Create React App.
30 lines (27 loc) • 659 B
JSON
{
"parserOptions": {
"ecmaVersion": 8,
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
},
"plugins": [
"react"
],
"rules": {
"jsx-quotes": [2, "prefer-single"],
"react/jsx-boolean-value": 2,
"react/jsx-curly-spacing": [2, "never"],
"react/jsx-equals-spacing": [2, "never"],
"react/jsx-indent": [2, 2],
"react/jsx-indent-props": [2, 2],
"react/jsx-no-duplicate-props": 2,
"react/jsx-no-undef": 2,
"react/jsx-space-before-closing": 2,
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/self-closing-comp": 2
}
}