mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 11:46:19 +01:00
MDL-48277 css: enable some helpful csslint warnings
Note that these rules cause a resonable amount of warnings when run across the codebase but should be useful in the development of new css. * known-properties can find typos in properties used https://github.com/CSSLint/csslint/wiki/Require-use-of-known-properties * display-property-grouping can discover situations where rules are used in invalid combinations https://github.com/CSSLint/csslint/wiki/Require-properties-appropriate-for-display * empty-rules finds situations where empty rules are defined https://github.com/CSSLint/csslint/wiki/Disallow-empty-rules * important warnings when !important is used (generally bad for themers) https://github.com/CSSLint/csslint/wiki/Disallow-!important
This commit is contained in:
parent
03e93abad8
commit
1e717e84e7
@ -1,2 +1,3 @@
|
||||
--errors=errors,duplicate-properties
|
||||
--warnings=known-properties,display-property-grouping,empty-rules,important
|
||||
--exclude-list=vendor/,lib/editor/tinymce/,lib/yuilib/,theme/bootstrapbase/style/
|
||||
|
Loading…
x
Reference in New Issue
Block a user