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,
|
||||
"immed": true,
|
||||
"noarg": true,
|
||||
"onevar": true,
|
||||
"quotmark": "double",
|
||||
"smarttabs": true,
|
||||
"trailing": true,
|
||||
|
12
Gruntfile.js
12
Gruntfile.js
@ -201,6 +201,15 @@ grunt.initConfig({
|
||||
requireSpacesInsideParentheses: null
|
||||
},
|
||||
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,
|
||||
@ -249,7 +258,8 @@ grunt.initConfig({
|
||||
"Gruntfile.js",
|
||||
"build/**/*.js",
|
||||
"tests/unit/**/*.js",
|
||||
"tests/lib/**/*.js"
|
||||
"tests/lib/**/*.js",
|
||||
"demos/**/*.js"
|
||||
]
|
||||
},
|
||||
csslint: {
|
||||
|
Loading…
Reference in New Issue
Block a user