Disabled specific eslint rules in small blocks

This commit is contained in:
Alejandro Celaya
2018-08-26 10:49:23 +02:00
parent 6568487bca
commit c0e116b17b
8 changed files with 18 additions and 9 deletions

View File

@@ -3,11 +3,12 @@ import shlinkApiClient from '../../api/ShlinkApiClient';
import serversService from '../../servers/services/ServersService';
import { resetShortUrlParams } from '../../short-urls/reducers/shortUrlsListParams';
const defaultState = null;
/* eslint-disable padding-line-between-statements, newline-after-var */
export const SELECT_SERVER = 'shlink/selectedServer/SELECT_SERVER';
export const RESET_SELECTED_SERVER = 'shlink/selectedServer/RESET_SELECTED_SERVER';
/* eslint-enable padding-line-between-statements, newline-after-var */
const defaultState = null;
export default function reducer(state = defaultState, action) {
switch (action.type) {