/eslint-config

Opinionated eslint-config for TypeScript-based Node.js services.

Primary LanguageJavaScriptMIT LicenseMIT

npm version Downloads FOSSA Status CodeQL checks

@dendavidov/eslint-config

Opinionated eslint-config for TypeScript-based Node.js services.

Installation

npm i -D @dendavidov/eslint-config

Usage

Add .eslintrc.json in the root of your project

{
  "extends": "@dendavidov/eslint-config"
}

Add script to package.json -> scripts:

{
  ...
  "scripts": {
    ...
    "lint": "eslint './src/**/*.{ts,tsx}'"
  },
  ...
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

FOSSA Status