-
Notifications
You must be signed in to change notification settings - Fork 6
/
possible-errors.js
40 lines (40 loc) · 2.04 KB
/
possible-errors.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
module.exports = {
rules: {
'color-no-invalid-hex': [true, { severity: 'error' }],
'function-calc-no-unspaced-operator': [true, { severity: 'warning' }],
'function-linear-gradient-no-nonstandard-direction': [true, { severity: 'error' }],
'function-no-unknown': [true, { severity: 'error' }],
'string-no-newline': [true, { severity: 'error' }],
'unit-no-unknown': [true, { severity: 'error' }],
'keyframe-declaration-no-important': [true, { severity: 'error' }],
'declaration-block-no-duplicate-properties': [
true,
{
ignore: ['consecutive-duplicates'],
severity: 'error',
},
],
'declaration-block-no-shorthand-property-overrides': [true, { severity: 'error' }],
'selector-pseudo-class-no-unknown': [true, { severity: 'error' }],
'selector-pseudo-element-no-unknown': [true, { severity: 'error' }],
'selector-type-no-unknown': [true, { severity: 'error' }],
'no-duplicate-selectors': [true, { severity: 'error' }],
'keyframe-block-no-duplicate-selectors': [true, { severity: 'error' }],
'font-family-no-duplicate-names': [true, { severity: 'error' }],
'font-family-no-missing-generic-family-keyword': [true, { severity: 'error' }],
'property-no-unknown': [true, { severity: 'error' }],
'block-no-empty': [true, { severity: 'warning' }],
'media-feature-name-no-unknown': [true, { severity: 'error' }],
'at-rule-no-unknown': [true, { severity: 'error' }],
'comment-no-empty': [true, { severity: 'warning' }],
'no-descending-specificity': [true, { severity: 'error' }],
'no-duplicate-at-import-rules': [true, { severity: 'error' }],
'no-empty-source': [true, { severity: 'warning' }],
'declaration-block-no-duplicate-custom-properties': [true, { severity: 'error' }],
'named-grid-areas-no-invalid': [true, { severity: 'error' }],
'no-invalid-position-at-import-rule': [true, { severity: 'error' }],
'custom-property-no-missing-var-function': [true, { severity: 'error' }],
'annotation-no-unknown': [true, { severity: 'error' }],
// 'no-invalid-double-slash-comments': [null, { severity: 'warning' }],
},
};