mirror of
https://github.com/pure-css/pure
synced 2024-11-18 02:36:30 +01: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,
|
||||
"display-property-grouping": false,
|
||||
"star-property-hack" : false
|
||||
"star-property-hack" : false,
|
||||
"unqualified-attributes" : false
|
||||
}
|
||||
|
@ -111,9 +111,12 @@ grunt.initConfig({
|
||||
csslintrc: '.csslintrc'
|
||||
},
|
||||
|
||||
src: {
|
||||
src: 'src/**/css/*.css'
|
||||
}
|
||||
base : ['src/base/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 --------------------------------------------------------
|
||||
|
@ -1,4 +1,4 @@
|
||||
/*csslint unqualified-attributes:false, outline-none:false*/
|
||||
/*csslint outline-none:false*/
|
||||
|
||||
.pure-button {
|
||||
font-family: inherit;
|
||||
|
Loading…
Reference in New Issue
Block a user