-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.js
32 lines (32 loc) · 1.08 KB
/
.stylelintrc.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
module.exports = {
customSyntax: 'postcss-html',
extends: [
'stylelint-config-standard-scss',
'stylelint-config-recess-order',
'stylelint-config-prettier'
],
plugins: [],
ignoreFiles: ['**/node_modules/**', '**/.nuxt/**', '**/dist/**'],
rules: {
// 'at-rule-no-unknown': false,
'scss/at-rule-no-unknown': true,
'scss/comment-no-empty': null,
'string-quotes': 'single',
'block-no-empty': null,
'number-leading-zero': null,
'color-hex-length': 'short',
'color-no-invalid-hex': true,
indentation: 2,
'length-zero-no-unit': true,
'media-feature-name-no-vendor-prefix': true,
'shorthand-property-no-redundant-values': true,
'no-invalid-position-at-import-rule': null,
'no-irregular-whitespace': null,
'selector-class-pattern': null,
'property-no-unknown': null,
// prettierのインラインスタイルの末尾のコロンを削除するとコンフリクトするため、回避設定
'declaration-block-trailing-semicolon': null,
// ::v-deepエラー回避
'selector-pseudo-class-no-unknown': null
}
}