Socket
Socket
Sign inDemoInstall

eslint-config-airbnb-angular

Package Overview
Dependencies
2
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-config-airbnb-angular

Airbnb's ESLint config with Angular and TypeScript support


Version published
Weekly downloads
365
decreased by-22.51%
Maintainers
1
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 16 Aug 2019

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc