1.0.0 • Published 5 years ago

eslint-config-airbnb-angular v1.0.0

Weekly downloads
1,011
License
MIT
Repository
github
Last release
5 years ago

eslint-config-airbnb-angular

Airbnb's ESLint config with Angular and TypeScript support

Use this when you're trying to use eslint-config-airbnb-base and typescript-eslint in your Angular project.

Note: this config works for both JS and TS files.

Installation

Install dependencies. ESLint plugins must also be installed.

npm install --save-dev eslint-config-airbnb-angular \
                       eslint-plugin-import \
                       @typescript-eslint/eslint-plugin

Within your ESLint config file:

module.exports = {
  extends: ['airbnb-angular'],
};

Alter your eslint command to include ts files:

eslint --ext .js,.ts .

Credits

Authored and maintained by Eike Foken (eikefoken.com)

License

Open source licensed as MIT.