1
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:
Eric Ferraiuolo 2013-11-27 14:38:03 -05:00
parent b51c421888
commit 97f862bd7e
3 changed files with 9 additions and 5 deletions

View File

@ -1,5 +1,6 @@
{
"box-sizing" : false,
"display-property-grouping": false,
"star-property-hack" : false
"star-property-hack" : false,
"unqualified-attributes" : false
}

View File

@ -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 --------------------------------------------------------

View File

@ -1,4 +1,4 @@
/*csslint unqualified-attributes:false, outline-none:false*/
/*csslint outline-none:false*/
.pure-button {
font-family: inherit;