0.1.0 • Published 3 years ago

@m2-oss/web-configs v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@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