0.1.3 • Published 3 years ago
@webdev-config/eslint v0.1.3
@webdev-config/eslint
ESLint configuration to be shared across repositories.
Install
npm i -D @webdev-config/eslint
Configure
Append to package.json
:
"eslintConfig": { "extends": "./node_modules/@webdev-config/eslint" }
Execute
eslint [path regex]
eslint ./src/**
eslint ./index.ts
Test
Build test code inside of index.ts
, use package.json
scripts test
and fix
to execute local testing.