https://github.com/efoken/eslint-config-airbnb-angular
Airbnb's ESLint config with Angular and TypeScript support
https://github.com/efoken/eslint-config-airbnb-angular
Last synced: 9 months ago
JSON representation
Airbnb's ESLint config with Angular and TypeScript support
- Host: GitHub
- URL: https://github.com/efoken/eslint-config-airbnb-angular
- Owner: efoken
- License: mit
- Created: 2019-08-16T13:22:17.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-02-12T12:19:14.000Z (over 4 years ago)
- Last Synced: 2025-03-26T16:02:20.766Z (over 1 year ago)
- Language: JavaScript
- Size: 171 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb-base)
and [typescript-eslint](https://github.com/typescript-eslint/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.
```bash
npm install --save-dev eslint-config-airbnb-angular \
eslint-plugin-import \
@typescript-eslint/eslint-plugin
```
Within your ESLint config file:
```javascript
module.exports = {
extends: ['airbnb-angular'],
};
```
Alter your eslint command to include ts files:
```bash
eslint --ext .js,.ts .
```
## Credits
Authored and maintained by Eike Foken ([eikefoken.com](https://eikefoken.com/))
## License
Open source licensed as MIT.