This commit is contained in:
Jori Lallo 2018-01-03 21:39:32 -08:00
parent 2e609d7f4f
commit f9c24574da
2 changed files with 9 additions and 28 deletions

View File

@ -1,8 +1,5 @@
{
"presets": [
"react",
"env"
],
"presets": ["react", "env"],
"plugins": [
"lodash",
"styled-components",
@ -15,9 +12,7 @@
],
"env": {
"development": {
"presets": [
"react-hmre"
]
"presets": ["react-hmre"]
}
}
}
}

View File

@ -6,10 +6,7 @@
"plugin:import/warnings",
"plugin:flowtype/recommended"
],
"plugins": [
"prettier",
"flowtype"
],
"plugins": ["prettier", "flowtype"],
"rules": {
"eqeqeq": 2,
"no-unused-vars": 2,
@ -22,9 +19,7 @@
"import/no-unresolved": [
"error",
{
"ignore": [
"slate-drop-or-paste-images"
]
"ignore": ["slate-drop-or-paste-images"]
}
],
// Flow
@ -35,14 +30,8 @@
"annotationStyle": "line"
}
],
"flowtype/space-after-type-colon": [
2,
"always"
],
"flowtype/space-before-type-colon": [
2,
"never"
],
"flowtype/space-after-type-colon": [2, "always"],
"flowtype/space-before-type-colon": [2, "never"],
// Enforce that code is formatted with prettier.
"prettier/prettier": [
"error",
@ -56,10 +45,7 @@
"settings": {
"import/resolver": {
"node": {
"paths": [
"app",
"."
]
"paths": ["app", "."]
}
},
"flowtype": {
@ -78,4 +64,4 @@
"afterAll": true,
"Bugsnag": true
}
}
}