Skip to content

Commit d0c036b

Browse files
Merge pull request #484 from Gillespie59/development
3.0.0
2 parents 2009670 + e817d9b commit d0c036b

File tree

5 files changed

+360
-442
lines changed

5 files changed

+360
-442
lines changed

package.json

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-angular",
3-
"version": "2.5.0",
3+
"version": "3.0.0",
44
"description": "ESLint rules for AngularJS projects",
55
"main": "index.js",
66
"scripts": {
@@ -21,21 +21,20 @@
2121
},
2222
"homepage": "https://github.com/Gillespie59/eslint-plugin-angularjs",
2323
"devDependencies": {
24-
"chai": "^3.5.0",
25-
"chai-spies": "^0.7.1",
26-
"coveralls": "^2.11.6",
27-
"eslint": "^3.18.0",
28-
"espree": "^3.0.1",
29-
"gulp": "^3.9.1",
30-
"gulp-eslint": "^3.0.1",
31-
"gulp-istanbul": "^1.0.0",
32-
"gulp-mocha": "^3.0.1",
33-
"istanbul": "^0.4.2",
34-
"lodash": "^4.13.1",
35-
"mocha": "^3.2.0",
36-
"parse-comments": "^0.4.3",
37-
"shelljs": "^0.7.1",
38-
"shelljs-nodecli": "^0.1.1"
24+
"chai": "4.0.2",
25+
"chai-spies": "0.7.1",
26+
"coveralls": "2.13.1",
27+
"eslint": "4.1.1",
28+
"espree": "3.4.3",
29+
"gulp": "3.9.1",
30+
"gulp-eslint": "4.0.0",
31+
"gulp-istanbul": "1.1.2",
32+
"gulp-mocha": "4.3.1",
33+
"istanbul": "0.4.5",
34+
"mocha": "3.4.2",
35+
"parse-comments": "0.4.3",
36+
"shelljs": "0.7.8",
37+
"shelljs-nodecli": "0.1.1"
3938
},
4039
"keywords": [
4140
"eslint",

scripts/docs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ function _createRule(ruleName) {
192192
}
193193

194194
// load rule module for tests
195-
rule.module = require('../rules/' + rule.ruleName); // eslint-disable-line global-require
195+
rule.module = require('../rules/' + rule.ruleName);// eslint-disable-line global-require
196196

197197
// load examples, prepare them for the tests and group the for the template
198198
rule.allExamples = _loadExamples(rule);

scripts/templates.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ var templateSettings = {
2525
return '';
2626
}
2727
return ' (' + rule.styleguideReferences
28-
.map(styleguideReferenceTemplateContext)
29-
.map(templates.styleguideShort).join(', ') +
30-
')';
28+
.map(styleguideReferenceTemplateContext)
29+
.map(templates.styleguideShort).join(', ') +
30+
')';
3131
},
3232
formatConfigAsJson: function(examples) {
3333
var config = examples[0].displayOptions;

test/controller-as.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ eslintTester.run('controller-as', rule, {
2727
'function UserController(UserService, $compile, $scope, $q, CommonEnum, CommonService, $uibModal, TenantService) {' +
2828
'$scope.myform = {};' +
2929
'}',
30-
errors: [{message: 'You should not set properties on $scope in controllers. Use controllerAs syntax and add data to "this"'}]
30+
errors: [{message: 'You should not set properties on $scope in controllers. Use controllerAs syntax and add data to "this"'}]
3131
},
3232
{code: 'angular.module("test").controller("Test", function() {$scope.name = "test"} );',
3333
errors: [{message: 'You should not set properties on $scope in controllers. Use controllerAs syntax and add data to "this"'}]},

0 commit comments

Comments
 (0)