modules/core/settings/reducer.js
Function settings
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const settings = (state = initialState, action) => {
switch (action.type) {
case '[MAIN]:DB:INIT':
return Object.assign({}, state, { dbInit: true });
case '[MAIN]:DB:SYNC_TO_BACKEND':
Parsing error: 'import' and 'export' may appear only with 'sourceType: module' Open
Open
export const SwarmState = {
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/