41 lines
729 B
Plaintext
41 lines
729 B
Plaintext
{
|
|
"extends": [
|
|
"airbnb",
|
|
"prettier",
|
|
"prettier/flowtype",
|
|
"prettier/react"
|
|
],
|
|
"parser": "babel-eslint",
|
|
"plugins": [
|
|
"flowtype",
|
|
"prettier"
|
|
],
|
|
"env": {
|
|
"es6": true,
|
|
"jasmine": true
|
|
},
|
|
"rules": {
|
|
"prettier/prettier": ["error", {
|
|
"trailingComma": "es5",
|
|
"singleQuote": true
|
|
}],
|
|
|
|
"react/forbid-prop-types": "warn",
|
|
"react/jsx-filename-extension": [
|
|
"off", { "extensions": [".js", ".jsx"] }
|
|
],
|
|
|
|
"class-methods-use-this": 0,
|
|
"no-console": 0,
|
|
"no-plusplus": 0,
|
|
"no-undef": 0,
|
|
"no-underscore-dangle": "off",
|
|
"no-use-before-define": 0,
|
|
"import/no-cycle": 0
|
|
},
|
|
"globals": {
|
|
"__DEV__": true,
|
|
"window": true
|
|
}
|
|
}
|