These rules are adopted from the AngularJS commit conventions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Autosizer can't compute width and height from within jest's virtual DOM | |
| jest.mock('react-virtualized/dist/commonjs/AutoSizer', () => ({children}) => children({width: 100, height: 200})) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { handleActions } from 'redux-actions' | |
| import methods from 'actions' // `methods` are all the UPPERCASE_STRING constants defining action strings. | |
| export const createProgressReducer = (options = {}) => { | |
| const initialState = {} | |
| const progressReducer = Object.keys(methods).reduce((accum, method) => { | |
| if (typeof method === 'string') { | |
| accum[`${method}_PENDING`] = (state, action) => { | |
| return { |
As configured in my dotfiles.
start new:
tmux
start new with session name: