Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
grunt-monty-python
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
e466a60a
authored
2015-12-16 11:14:09 -0600
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Add support for jscs style checker.
1 parent
567ac015
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
Gruntfile.js
grunt-monty-python.js
package.json
Gruntfile.js
View file @
e466a60
...
...
@@ -31,6 +31,11 @@ module.exports = function(grunt) {
browserOptions
:
{
},
};
config
.
jscs
=
{
options
:
{
validateIndentation
:
4
,
},
};
var
montyPython
=
require
(
'./grunt-monty-python'
)(
grunt
);
montyPython
.
createConfig
(
config
);
...
...
grunt-monty-python.js
View file @
e466a60
...
...
@@ -265,6 +265,12 @@ module.exports = function (grunt) {
null
,
null
);
createJschecker
(
'jscs'
,
null
,
null
,
null
);
if
(
mpConfig
.
csslint
)
{
initConfig
.
csslint
=
{
};
...
...
package.json
View file @
e466a60
...
...
@@ -26,6 +26,7 @@
"grunt-contrib-imagemin"
:
"~0"
,
"grunt-contrib-requirejs"
:
"~0"
,
"grunt-contrib-uglify"
:
"~0"
,
"grunt-jscs"
:
""
,
"grunt-rev"
:
"~0"
,
"grunt-svgmin"
:
"~0"
,
"grunt-usemin"
:
"~2"
,
...
...
Please
register
or
sign in
to post a comment