Last active
May 26, 2017 14:10
-
-
Save MarcoWorms/cca480bfabf88e58ac8e69a806d2f99f to your computer and use it in GitHub Desktop.
My js dotfiles
This file contains 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
// webpack.config.js | |
module.exports = { | |
target: ['browser','node'], | |
context: __dirname + '/src', | |
entry: './index', | |
output: { | |
path: __dirname + '/dist', | |
filename: 'bundle.js', | |
}, | |
} | |
// .eslintrc | |
module.exports = { | |
"extends": ["airbnb-base"], | |
"env": { | |
"browser": true, | |
"node": true, | |
"jest": true | |
}, | |
"rules": { | |
"import/no-extraneous-dependencies": [2, { "devDependencies": true }], | |
"semi": [2, "never"], | |
"space-before-function-paren": [2, "always"], | |
"comma-dangle": [ | |
'error', | |
{ | |
arrays: 'always-multiline', | |
objects: 'always-multiline', | |
imports: 'always-multiline', | |
exports: 'always-multiline', | |
functions: 'never', | |
}, | |
], | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment