stylus/edit/lint-defaults-csslint.js

51 lines
1.1 KiB
JavaScript
Raw Normal View History

2017-08-23 22:13:55 +00:00
'use strict';
/**
2017-08-27 15:23:35 +00:00
* CSSLint Config values
2017-08-23 22:13:55 +00:00
* 0 = disabled; 1 = warning; 2 = error
*/
window.linterConfig.defaults.csslint = {
2017-08-23 22:13:55 +00:00
// Default warnings
'display-property-grouping': 1,
'duplicate-properties': 1,
'empty-rules': 1,
'errors': 1,
'warnings': 1,
2017-08-23 22:13:55 +00:00
'known-properties': 1,
// Default disabled
'adjoining-classes': 0,
'box-model': 0,
'box-sizing': 0,
'bulletproof-font-face': 0,
'compatible-vendor-prefixes': 0,
'duplicate-background-images': 0,
'fallback-colors': 0,
'floats': 0,
'font-faces': 0,
'font-sizes': 0,
'gradients': 0,
'ids': 0,
'import': 0,
'import-ie-limit': 0,
'important': 0,
'order-alphabetical': 0,
'outline-none': 0,
'overqualified-elements': 0,
'qualified-headings': 0,
'regex-selectors': 0,
'rules-count': 0,
'selector-max': 0,
'selector-max-approaching': 0,
'selector-newline': 0,
'shorthand': 0,
'star-property-hack': 0,
'text-indent': 0,
'underscore-property-hack': 0,
'unique-headings': 0,
'universal-selector': 0,
'unqualified-attributes': 0,
'vendor-prefix': 0,
'zero-units': 0
};