mirror of
https://github.com/pure-css/pure.git
synced 2024-11-07 21:34:24 +00:00
Improve CSSLint config to work on a per-module basis
The grunt-contrib-csslint Grunt plugin does odd things with the way it processes CSSLint config. This improves linting by only applying in-file lint overrides on a per-module basis.
This commit is contained in:
parent
b51c421888
commit
97f862bd7e
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"box-sizing" : false,
|
"box-sizing" : false,
|
||||||
"display-property-grouping": false,
|
"display-property-grouping": false,
|
||||||
"star-property-hack" : false
|
"star-property-hack" : false,
|
||||||
|
"unqualified-attributes" : false
|
||||||
}
|
}
|
||||||
|
@ -111,9 +111,12 @@ grunt.initConfig({
|
|||||||
csslintrc: '.csslintrc'
|
csslintrc: '.csslintrc'
|
||||||
},
|
},
|
||||||
|
|
||||||
src: {
|
base : ['src/base/css/*.css'],
|
||||||
src: 'src/**/css/*.css'
|
buttons: ['src/buttons/css/*.css'],
|
||||||
}
|
forms : ['src/forms/css/*.css'],
|
||||||
|
grids : ['src/grids/css/*.css'],
|
||||||
|
menus : ['src/menus/css/*.css'],
|
||||||
|
tables : ['src/tables/css/*.css']
|
||||||
},
|
},
|
||||||
|
|
||||||
// -- CSSMin Config --------------------------------------------------------
|
// -- CSSMin Config --------------------------------------------------------
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*csslint unqualified-attributes:false, outline-none:false*/
|
/*csslint outline-none:false*/
|
||||||
|
|
||||||
.pure-button {
|
.pure-button {
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
|
Loading…
Reference in New Issue
Block a user