mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Build: Add demos to jscs and jshint
This commit is contained in:
parent
21acf69770
commit
919828dfbe
@ -6,7 +6,6 @@
|
|||||||
"expr": true,
|
"expr": true,
|
||||||
"immed": true,
|
"immed": true,
|
||||||
"noarg": true,
|
"noarg": true,
|
||||||
"onevar": true,
|
|
||||||
"quotmark": "double",
|
"quotmark": "double",
|
||||||
"smarttabs": true,
|
"smarttabs": true,
|
||||||
"trailing": true,
|
"trailing": true,
|
||||||
|
12
Gruntfile.js
12
Gruntfile.js
@ -201,6 +201,15 @@ grunt.initConfig({
|
|||||||
requireSpacesInsideParentheses: null
|
requireSpacesInsideParentheses: null
|
||||||
},
|
},
|
||||||
src: [ "Gruntfile.js", "build/tasks/*.js" ]
|
src: [ "Gruntfile.js", "build/tasks/*.js" ]
|
||||||
|
},
|
||||||
|
demos: {
|
||||||
|
options: {
|
||||||
|
|
||||||
|
// While the style guide removed onevar upgrading jscs to allow it causes too many
|
||||||
|
// errors right now
|
||||||
|
disallowMultipleVarDecl: null
|
||||||
|
},
|
||||||
|
src: "demos/**/*.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
uglify: minify,
|
uglify: minify,
|
||||||
@ -249,7 +258,8 @@ grunt.initConfig({
|
|||||||
"Gruntfile.js",
|
"Gruntfile.js",
|
||||||
"build/**/*.js",
|
"build/**/*.js",
|
||||||
"tests/unit/**/*.js",
|
"tests/unit/**/*.js",
|
||||||
"tests/lib/**/*.js"
|
"tests/lib/**/*.js",
|
||||||
|
"demos/**/*.js"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
csslint: {
|
csslint: {
|
||||||
|
Loading…
Reference in New Issue
Block a user