Enfore semicolon for class properties
This commit is contained in:
parent
4010a16a76
commit
4c50952131
@ -3,7 +3,10 @@ env:
|
||||
es6: true
|
||||
|
||||
parser: babel-eslint
|
||||
plugins: [ "react" ]
|
||||
plugins: [
|
||||
"react",
|
||||
"class-property"
|
||||
]
|
||||
|
||||
rules:
|
||||
# Possible Errors
|
||||
@ -97,6 +100,8 @@ rules:
|
||||
react/self-closing-comp: 1
|
||||
react/sort-comp: 1
|
||||
|
||||
class-property/class-property-semicolon: 2
|
||||
|
||||
# Global scoped method and vars
|
||||
globals:
|
||||
netlify: true
|
||||
|
@ -42,6 +42,7 @@
|
||||
"babel-runtime": "^6.5.0",
|
||||
"css-loader": "^0.23.1",
|
||||
"eslint": "^3.5.0",
|
||||
"eslint-plugin-class-property": "^1.0.1",
|
||||
"eslint-plugin-react": "^5.1.1",
|
||||
"expect": "^1.20.2",
|
||||
"exports-loader": "^0.6.3",
|
||||
|
Loading…
x
Reference in New Issue
Block a user