mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
1e717e84e7
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
4 lines
195 B
Plaintext
4 lines
195 B
Plaintext
--errors=errors,duplicate-properties
|
|
--warnings=known-properties,display-property-grouping,empty-rules,important
|
|
--exclude-list=vendor/,lib/editor/tinymce/,lib/yuilib/,theme/bootstrapbase/style/
|