Improve eslint rules (#3147)
* Add semi to ESLint rules * Add padded-blocks to ESLint rules * Add comma-dangle to ESLint rules * add config/webpack and storyboard * add streaming/ * yarn test:lint -- --fix
This commit is contained in:
		
				
					committed by
					
						
						Eugen Rochko
					
				
			
			
				
	
			
			
			
						parent
						
							812fe90eca
						
					
				
				
					commit
					2e112e2406
				
			@@ -27,7 +27,7 @@ export function fetchStatusRequest(id, skipLoading) {
 | 
			
		||||
  return {
 | 
			
		||||
    type: STATUS_FETCH_REQUEST,
 | 
			
		||||
    id,
 | 
			
		||||
    skipLoading
 | 
			
		||||
    skipLoading,
 | 
			
		||||
  };
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
@@ -56,7 +56,7 @@ export function fetchStatusSuccess(status, skipLoading) {
 | 
			
		||||
  return {
 | 
			
		||||
    type: STATUS_FETCH_SUCCESS,
 | 
			
		||||
    status,
 | 
			
		||||
    skipLoading
 | 
			
		||||
    skipLoading,
 | 
			
		||||
  };
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
@@ -66,7 +66,7 @@ export function fetchStatusFail(id, error, skipLoading) {
 | 
			
		||||
    id,
 | 
			
		||||
    error,
 | 
			
		||||
    skipLoading,
 | 
			
		||||
    skipAlert: true
 | 
			
		||||
    skipAlert: true,
 | 
			
		||||
  };
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
@@ -86,14 +86,14 @@ export function deleteStatus(id) {
 | 
			
		||||
export function deleteStatusRequest(id) {
 | 
			
		||||
  return {
 | 
			
		||||
    type: STATUS_DELETE_REQUEST,
 | 
			
		||||
    id: id
 | 
			
		||||
    id: id,
 | 
			
		||||
  };
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export function deleteStatusSuccess(id) {
 | 
			
		||||
  return {
 | 
			
		||||
    type: STATUS_DELETE_SUCCESS,
 | 
			
		||||
    id: id
 | 
			
		||||
    id: id,
 | 
			
		||||
  };
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
@@ -101,7 +101,7 @@ export function deleteStatusFail(id, error) {
 | 
			
		||||
  return {
 | 
			
		||||
    type: STATUS_DELETE_FAIL,
 | 
			
		||||
    id: id,
 | 
			
		||||
    error: error
 | 
			
		||||
    error: error,
 | 
			
		||||
  };
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
@@ -125,7 +125,7 @@ export function fetchContext(id) {
 | 
			
		||||
export function fetchContextRequest(id) {
 | 
			
		||||
  return {
 | 
			
		||||
    type: CONTEXT_FETCH_REQUEST,
 | 
			
		||||
    id
 | 
			
		||||
    id,
 | 
			
		||||
  };
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
@@ -135,7 +135,7 @@ export function fetchContextSuccess(id, ancestors, descendants) {
 | 
			
		||||
    id,
 | 
			
		||||
    ancestors,
 | 
			
		||||
    descendants,
 | 
			
		||||
    statuses: ancestors.concat(descendants)
 | 
			
		||||
    statuses: ancestors.concat(descendants),
 | 
			
		||||
  };
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
@@ -144,7 +144,7 @@ export function fetchContextFail(id, error) {
 | 
			
		||||
    type: CONTEXT_FETCH_FAIL,
 | 
			
		||||
    id,
 | 
			
		||||
    error,
 | 
			
		||||
    skipAlert: true
 | 
			
		||||
    skipAlert: true,
 | 
			
		||||
  };
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
@@ -163,14 +163,14 @@ export function muteStatus(id) {
 | 
			
		||||
export function muteStatusRequest(id) {
 | 
			
		||||
  return {
 | 
			
		||||
    type: STATUS_MUTE_REQUEST,
 | 
			
		||||
    id
 | 
			
		||||
    id,
 | 
			
		||||
  };
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export function muteStatusSuccess(id) {
 | 
			
		||||
  return {
 | 
			
		||||
    type: STATUS_MUTE_SUCCESS,
 | 
			
		||||
    id
 | 
			
		||||
    id,
 | 
			
		||||
  };
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
@@ -178,7 +178,7 @@ export function muteStatusFail(id, error) {
 | 
			
		||||
  return {
 | 
			
		||||
    type: STATUS_MUTE_FAIL,
 | 
			
		||||
    id,
 | 
			
		||||
    error
 | 
			
		||||
    error,
 | 
			
		||||
  };
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
@@ -197,14 +197,14 @@ export function unmuteStatus(id) {
 | 
			
		||||
export function unmuteStatusRequest(id) {
 | 
			
		||||
  return {
 | 
			
		||||
    type: STATUS_UNMUTE_REQUEST,
 | 
			
		||||
    id
 | 
			
		||||
    id,
 | 
			
		||||
  };
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export function unmuteStatusSuccess(id) {
 | 
			
		||||
  return {
 | 
			
		||||
    type: STATUS_UNMUTE_SUCCESS,
 | 
			
		||||
    id
 | 
			
		||||
    id,
 | 
			
		||||
  };
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
@@ -212,6 +212,6 @@ export function unmuteStatusFail(id, error) {
 | 
			
		||||
  return {
 | 
			
		||||
    type: STATUS_UNMUTE_FAIL,
 | 
			
		||||
    id,
 | 
			
		||||
    error
 | 
			
		||||
    error,
 | 
			
		||||
  };
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user