2017-01-26 11:49:39 -08:00
|
|
|
{
|
2017-04-24 14:01:22 +02:00
|
|
|
"extends": [
|
2017-05-14 12:14:12 -07:00
|
|
|
"plugin:react/recommended",
|
|
|
|
"plugin:import/errors",
|
|
|
|
"plugin:import/warnings",
|
2017-04-24 14:01:22 +02:00
|
|
|
"prettier",
|
|
|
|
"prettier/react"
|
|
|
|
],
|
2017-01-26 11:49:39 -08:00
|
|
|
"parser": "babel-eslint",
|
2018-06-04 12:46:08 -07:00
|
|
|
"plugins": ["react", "prettier"],
|
2017-01-26 11:49:39 -08:00
|
|
|
"env": {
|
|
|
|
"jasmine": true
|
|
|
|
},
|
|
|
|
"rules": {
|
2018-06-04 12:46:08 -07:00
|
|
|
"prettier/prettier": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"trailingComma": "es5",
|
|
|
|
"singleQuote": true
|
|
|
|
}
|
|
|
|
],
|
2017-04-24 14:01:22 +02:00
|
|
|
|
2017-09-16 07:21:08 +09:00
|
|
|
"no-underscore-dangle": "off",
|
|
|
|
"no-use-before-define": "off",
|
|
|
|
"no-unused-expressions": "off",
|
|
|
|
"new-cap": "off",
|
|
|
|
"no-plusplus": "off",
|
|
|
|
"no-class-assign": "off",
|
|
|
|
"no-duplicate-imports": "off",
|
|
|
|
"import/extensions": "off",
|
|
|
|
"import/no-extraneous-dependencies": "off",
|
|
|
|
"import/no-unresolved": "off",
|
2017-01-26 11:49:39 -08:00
|
|
|
|
2018-06-04 12:46:08 -07:00
|
|
|
"react/jsx-filename-extension": ["off", { "extensions": [".js", ".jsx"] }],
|
2017-09-06 16:08:08 -05:00
|
|
|
|
2017-09-16 07:21:08 +09:00
|
|
|
"react/sort-comp": "off",
|
|
|
|
"react/prefer-stateless-function": "off",
|
2018-05-31 13:47:28 -07:00
|
|
|
"react/no-deprecated": "off",
|
2017-01-26 11:49:39 -08:00
|
|
|
|
2017-09-16 07:21:08 +09:00
|
|
|
"react/forbid-prop-types": "warn",
|
|
|
|
"react/prop-types": "off",
|
|
|
|
"react/require-default-props": "off",
|
2018-04-27 10:57:07 -05:00
|
|
|
"react/no-unused-prop-types": "off"
|
2017-09-06 16:08:08 -05:00
|
|
|
},
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 6,
|
|
|
|
"sourceType": "module",
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"modules": true
|
|
|
|
}
|
2017-01-26 11:49:39 -08:00
|
|
|
}
|
|
|
|
}
|