Skip to content

efoken/eslint-config-airbnb-angular

Repository files navigation

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.

About

Airbnb's ESLint config with Angular and TypeScript support

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •