0.0.1-alpha.0 • Published 3 years ago
@misterbridge/eslint-config-base v0.0.1-alpha.0
ESLint config, mrbridge's style
This package provides mrbridge's eslint config for TypeScript projects without react.
.eslintrcas an extensible shared config
Installing
In your project folder, run:
npm i -D @misterbridge/eslint-config-base npx install-peerdeps --dev @misterbridge/eslint-config-baseYou will see several dependencies were installed.
Now, create (or update) a
.eslintrcfile with the following content:{ "extends": ["@misterbridge/eslint-config-base"] }If you need to extend the configuration with other plugins, make sure that
@misterbridge/eslint-config-base/prettieris the last item of the array{ "extends": [ "@misterbridge/eslint-config-base", // ..., "@misterbridge/eslint-config-base/prettier" ] }