/eslint-config

An ESLint plugin which provides predefined configs

Primary LanguageTypeScriptMIT LicenseMIT

@shinekidd/eslint-config

Usage

install

npm install -D eslint @shinekidd/eslint-config

Config .eslintrc

{
  "extends": ["@shinekidd"]
}

Config .vscode/settings.json

{
  "prettier.enable": false,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  }
}

Caveat

eslint unable to find deep configs when installed with pnpm!

configure .npmrc

public-hoist-pattern[]=*eslint*

License

MIT