@m2-oss/web-configs
v0.1.0
Published
common settings for eslint/prettier/tsc
Downloads
1
Readme
@m2-oss/web-configs
Install
$ yarn add @m2-oss/web-configs prettier eslint typescript -D
Usage
.prettierrc.js
module.exports = {
...require('@m2-oss/web-configs/prettier'),
};
.eslintrc.js
module.exports = {
extends: require.resolve('@m2-oss/web-configs/eslint'),
env: {
node: true,
},
};
tsconfig.json
{
"extends": "@m2-oss/web-configs/tsconfig.json"
}
License
MIT © m2