Enfore semicolon for class properties
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user