Browse Source
fix(eslint-flowtypes): Enable plugin:flowtype/recommended
Ignore all of flow-typed
The module_vx.x.x.js's purpose is mysterious and it's causing lint failures on
CI. Excluding it seems reasonable.
renovate/lint-staged-8.x
Ben Woosley
7 years ago
No known key found for this signature in database
GPG Key ID: 6EE5F3785F78B345
3 changed files with
4 additions and
3 deletions
-
.eslintignore
-
.eslintrc
-
app/store/configureStore.dev.js
|
@ -33,7 +33,7 @@ app/node_modules |
|
|
|
|
|
|
|
|
# flow-typed |
|
|
# flow-typed |
|
|
flow-typed/npm/* |
|
|
flow-typed/npm/* |
|
|
!flow-typed/npm/module_vx.x.x.js |
|
|
flow-typed/module_vx.x.x.js |
|
|
|
|
|
|
|
|
# App packaged |
|
|
# App packaged |
|
|
release |
|
|
release |
|
|
|
@ -6,7 +6,8 @@ |
|
|
}, |
|
|
}, |
|
|
"extends": [ |
|
|
"extends": [ |
|
|
"airbnb", |
|
|
"airbnb", |
|
|
"plugin:react/recommended" |
|
|
"plugin:react/recommended", |
|
|
|
|
|
"plugin:flowtype/recommended" |
|
|
], |
|
|
], |
|
|
"env": { |
|
|
"env": { |
|
|
"browser": true, |
|
|
"browser": true, |
|
|
|
@ -8,7 +8,7 @@ import ipc from '../reducers/ipc' |
|
|
|
|
|
|
|
|
const history = createHashHistory() |
|
|
const history = createHashHistory() |
|
|
|
|
|
|
|
|
const configureStore = (initialState?: counterStateType) => { |
|
|
const configureStore = (initialState) => { |
|
|
// Redux Configuration
|
|
|
// Redux Configuration
|
|
|
const middleware = [] |
|
|
const middleware = [] |
|
|
const enhancers = [] |
|
|
const enhancers = [] |
|
|