Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dustinspecker/eslint-config-angular
ESLint shareable config for Angular plugin
https://github.com/dustinspecker/eslint-config-angular
Last synced: 2 days ago
JSON representation
ESLint shareable config for Angular plugin
- Host: GitHub
- URL: https://github.com/dustinspecker/eslint-config-angular
- Owner: dustinspecker
- License: mit
- Created: 2015-08-01T17:48:07.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-31T21:39:47.000Z (over 7 years ago)
- Last Synced: 2024-09-29T20:39:25.766Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 25.4 KB
- Stars: 24
- Watchers: 4
- Forks: 5
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# eslint-config-angular
[![NPM version](https://badge.fury.io/js/eslint-config-angular.svg)](https://badge.fury.io/js/eslint-config-angular) [![Build Status](https://travis-ci.org/dustinspecker/eslint-config-angular.svg)](https://travis-ci.org/dustinspecker/eslint-config-angular) [![Coverage Status](https://img.shields.io/coveralls/dustinspecker/eslint-config-angular.svg)](https://coveralls.io/r/dustinspecker/eslint-config-angular?branch=master)[![Code Climate](https://codeclimate.com/github/dustinspecker/eslint-config-angular/badges/gpa.svg)](https://codeclimate.com/github/dustinspecker/eslint-config-angular) [![Dependencies](https://david-dm.org/dustinspecker/eslint-config-angular.svg)](https://david-dm.org/dustinspecker/eslint-config-angular/#info=dependencies&view=table) [![DevDependencies](https://david-dm.org/dustinspecker/eslint-config-angular/dev-status.svg)](https://david-dm.org/dustinspecker/eslint-config-angular/#info=devDependencies&view=table)
> ESLint [shareable](http://eslint.org/docs/developer-guide/shareable-configs.html) config for [Angular plugin](https://github.com/Gillespie59/eslint-plugin-angular)
## Install
```
npm install --save-dev eslint-config-angular
```
**Also, need to install [eslint-plugin-angular](https://github.com/Gillespie59/eslint-plugin-angular).**## Usage
In your .eslintrc file:
```javascript
{
"extends": "angular"
}
```This config will
- enable [eslint-plugin-angular](https://github.com/Gillespie59/eslint-plugin-angular)
- add `angular` as a global variable
- disable the `no-use-before-define` rule as recommended by [eslint-plugin-angular](https://github.com/Gillespie59/eslint-plugin-angular)All options from [index.js](index.js) may be overridden in your .eslintrc file.
## LICENSE
MIT © [Dustin Specker](https://github.com/dustinspecker)