dev-configs
v1.1.0
Published
Dev configs for Dock and related projects.
Downloads
4
Readme
dev-configs
Dev configs for Dock and related projects.
Installing
yarn add -D dev-configs
Setting up
ln -s node_modules/dev-configs/.editorconfig .editorconfig
ESLint config can be symlinked as well, but more preferable way is to use config extension:
// local .eslintrc.js
module.exports = {
extends: './node_modules/dev-configs/.eslintrc.js',
...
}
Prettier config can be symlinked or imported as a node module:
// local prettier.config.js
module.exports = require('dev-configs/prettier.config');
Same here, can be symlinked, or imported as a node module:
// local cucumber.js
module.exports = require('dev-configs/cucumber');
ln -s node_modules/dev-configs/.gitattributes .gitattributes