mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Use .csslintrc instead of inlining rules in the Gruntfile.
(cherry picked from commit 39a2f465a5
)
This commit is contained in:
parent
151bcb264b
commit
707f46ac65
11
.csslintrc
Normal file
11
.csslintrc
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"adjoining-classes": false,
|
||||||
|
"box-model": false,
|
||||||
|
"compatible-vendor-prefixes": false,
|
||||||
|
"duplicate-background-images": false,
|
||||||
|
"import": false,
|
||||||
|
"important": false,
|
||||||
|
"outline-none": false,
|
||||||
|
"overqualified-elements": false,
|
||||||
|
"text-indent": false
|
||||||
|
}
|
10
Gruntfile.js
10
Gruntfile.js
@ -351,15 +351,7 @@ grunt.initConfig({
|
|||||||
base_theme: {
|
base_theme: {
|
||||||
src: "themes/base/*.css",
|
src: "themes/base/*.css",
|
||||||
options: {
|
options: {
|
||||||
"adjoining-classes": false,
|
csslintrc: ".csslintrc"
|
||||||
"box-model": false,
|
|
||||||
"compatible-vendor-prefixes": false,
|
|
||||||
"duplicate-background-images": false,
|
|
||||||
"import": false,
|
|
||||||
"important": false,
|
|
||||||
"outline-none": false,
|
|
||||||
"overqualified-elements": false,
|
|
||||||
"text-indent": false
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,7 @@
|
|||||||
"grunt-contrib-uglify": "0.1.1",
|
"grunt-contrib-uglify": "0.1.1",
|
||||||
"grunt-contrib-concat": "0.1.3",
|
"grunt-contrib-concat": "0.1.3",
|
||||||
"grunt-contrib-qunit": "0.2.0",
|
"grunt-contrib-qunit": "0.2.0",
|
||||||
"grunt-contrib-csslint": "0.1.0",
|
"grunt-contrib-csslint": "0.1.1",
|
||||||
"grunt-contrib-cssmin": "0.4.2",
|
"grunt-contrib-cssmin": "0.4.2",
|
||||||
"grunt-compare-size": "0.3.1",
|
"grunt-compare-size": "0.3.1",
|
||||||
"grunt-html": "0.3.3",
|
"grunt-html": "0.3.3",
|
||||||
|
Loading…
Reference in New Issue
Block a user