react linting
This commit is contained in:
parent
d699a9cfe8
commit
4d648c8fe7
@ -55,12 +55,12 @@ module.exports = {
|
||||
'key-spacing': ['error'],
|
||||
|
||||
// for preact
|
||||
"react/react-in-jsx-scope": [0],
|
||||
"react/jsx-indent": [2, 4],
|
||||
"react/jsx-uses-react": 1,
|
||||
"react/jsx-uses-vars": 1,
|
||||
"react/prefer-stateless-function": 1,
|
||||
"react/prop-types": 0,
|
||||
// "react/react-in-jsx-scope": [0],
|
||||
// "react/jsx-indent": [2, 4],
|
||||
// "react/jsx-uses-react": 1,
|
||||
// "react/jsx-uses-vars": 1,
|
||||
// "react/prefer-stateless-function": 1,
|
||||
// "react/prop-types": 0,
|
||||
|
||||
// airbnb copypasta
|
||||
// enforces getter/setter pairs in objects
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user