You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

52 lines
1.1 KiB

{
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"impliedStrict": true,
"jsx": true
}
},
"env": {
"node": true,
"browser": true
},
"plugins": [
"react",
"flowtype"
],
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:flowtype/recommended"
],
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"quotes": ["error", "double"],
"curly": ["error", "all"],
"eqeqeq": ["error", "always"],
"block-scoped-var": "error",
"class-methods-use-this": "error",
"dot-location": ["error", "object"],
"dot-notation": "error",
"no-eval": "error",
"no-unused-vars": "error",
"array-bracket-spacing": ["error", "always"],
"block-spacing": "error",
"brace-style": "error",
"comma-dangle": ["error", "never"],
"comma-spacing": ["error", { "before": false, "after": true }],
"indent": ["error", "tab"],
"no-trailing-spaces": "error",
"one-var": ["error", "never"],
"semi": ["error", "never"],
"react/display-name": "off"
},
"globals": {
"document": true
}
}