@rweich/eslint-config
v4.0.0
Published
eslint config for my projects
Maintainers
Readme
eslint-config
default config for my ts-projects
Installation
Install dependencies
yarn add --dev @rweich/eslint-configConfigure
- either add the config to your
.eslintrc.js:module.exports = { extends: "@rweich", rules: { // Additional, per-project rules... } }; - or add it to your
package.json:{ "eslintConfig": { "extends": "@rweich" } }
- either add the config to your
(optional) add the two following scripts to your
package.jsonto run the linter manually:{ "scripts": { "lint": "eslint 'src/**/*.ts'", "lint-tests": "eslint 'test/**/*.ts'" } }
