Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit a33bac9

Browse files
mvheckepkozlowski-opensource
authored andcommitted
chore(jshint): move JSHint configuration to a .jshintrc file
Closes #1613
1 parent 06bd92d commit a33bac9

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

.jshintrc

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"curly": true,
3+
"immed": true,
4+
"newcap": true,
5+
"noarg": true,
6+
"sub": true,
7+
"boss": true,
8+
"eqnull": true,
9+
"quotmark": "single",
10+
"globals": {
11+
"angular": true
12+
}
13+
}

Gruntfile.js

+1-11
Original file line numberDiff line numberDiff line change
@@ -117,17 +117,7 @@ module.exports = function(grunt) {
117117
jshint: {
118118
files: ['Gruntfile.js','src/**/*.js'],
119119
options: {
120-
curly: true,
121-
immed: true,
122-
newcap: true,
123-
noarg: true,
124-
sub: true,
125-
boss: true,
126-
eqnull: true,
127-
quotmark: 'single',
128-
globals: {
129-
angular: true
130-
}
120+
jshintrc: '.jshintrc'
131121
}
132122
},
133123
karma: {

0 commit comments

Comments
 (0)