@rweich/eslint-config
v4.0.0
Published
eslint config for my projects
Downloads
56
Maintainers
Readme
eslint-config
default config for my ts-projects
Installation
Install dependencies
yarn add --dev @rweich/eslint-config
Configure
- 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.json
to run the linter manually:{ "scripts": { "lint": "eslint 'src/**/*.ts'", "lint-tests": "eslint 'test/**/*.ts'" } }