🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

eslint-config-airbnb-angular

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-airbnb-angular

Airbnb's ESLint config with Angular and TypeScript support

1.0.0
latest
Source
npm
Version published
Weekly downloads
612
11.48%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

eslint

FAQs

Package last updated on 16 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts