eslint-config-angular
Advanced tools
Comparing version 0.2.0 to 0.3.0
{ | ||
"/Users/dustin/projects/eslint-config-angular/index.js":{"path":"/Users/dustin/projects/eslint-config-angular/index.js","s":{"1":1},"b":{},"f":{},"fnMap":{},"statementMap":{"1":{"start":{"line":3,"column":0},"end":{"line":49,"column":2}}},"branchMap":{},"l":{"3":1}}} | ||
"/Users/dustin/projects/eslint-config-angular/index.js":{"path":"/Users/dustin/projects/eslint-config-angular/index.js","s":{"1":1},"b":{},"f":{},"fnMap":{},"statementMap":{"1":{"start":{"line":3,"column":0},"end":{"line":53,"column":2}}},"branchMap":{},"l":{"3":1}}} |
@@ -19,7 +19,9 @@ 'use strict'; | ||
'angular/ng_di': [2, 'function'], | ||
'angular/ng_di_order': [0, true], | ||
'angular/ng_directive_name': 0, | ||
'angular/ng_document_service': 2, | ||
'angular/ng_empty_controller': 0, | ||
'angular/ng_file_name': 0, | ||
'angular/ng_filter_name': 0, | ||
'angular/ng_foreach': 0, | ||
'angular/ng_filter_name': 0, | ||
'angular/ng_function_type': 0, | ||
@@ -36,4 +38,5 @@ 'angular/ng_interval_service': 2, | ||
'angular/ng_no_services': [2, ['$http', '$resource', 'Restangular']], | ||
'angular/ng_no_service_method': 0, | ||
'angular/ng_no_service_method': 2, | ||
'angular/ng_on_watch': 2, | ||
'angular/ng_rest_service': 0, | ||
'angular/ng_service_name': 0, | ||
@@ -48,2 +51,3 @@ 'angular/ng_timeout_service': 2, | ||
'angular/ng_typecheck_string': 2, | ||
'angular/ng_watchers_execution': [0, '$digest'], | ||
'angular/ng_window_service': 2, | ||
@@ -50,0 +54,0 @@ 'no-use-before-define': 0 |
{ | ||
"name": "eslint-config-angular", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "ESLint shareable config for Angular plugin", | ||
@@ -31,2 +31,3 @@ "main": "index.js", | ||
"eslint": "^1.0.0", | ||
"eslint-config-dustinspecker": "^0.1.0", | ||
"eslint-path-formatter": "^0.1.1", | ||
@@ -33,0 +34,0 @@ "gulp": "^3.9.0", |
@@ -22,2 +22,7 @@ # eslint-config-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. | ||
@@ -24,0 +29,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
505
30
52211
14