forked from Hiram-Wong/ZyPlayer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Hiram
committed
Mar 24, 2024
1 parent
9d5a8be
commit e17ab1a
Showing
3 changed files
with
58 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,8 @@ out | |
thumbnail | ||
.DS_Store | ||
*.log* | ||
|
||
# lock文件 | ||
yarn.lock | ||
package-lock.json | ||
pnpm-lock.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
export default { | ||
defaultSeverity: 'error', | ||
extends: ['stylelint-config-standard'], | ||
rules: { | ||
'no-descending-specificity': null, | ||
'import-notation': 'string', | ||
'no-empty-source': null, | ||
'custom-property-pattern': null, | ||
'selector-class-pattern': null, | ||
'selector-pseudo-class-no-unknown': [ | ||
true, | ||
{ | ||
ignorePseudoClasses: ['deep'], | ||
}, | ||
], | ||
'media-query-no-invalid': null, // 官方表示此规则应当仅对于原生CSS启用,对于预处理器(Less)不应启用 | ||
}, | ||
overrides: [ | ||
{ | ||
files: ['**/*.html', '**/*.vue'], | ||
customSyntax: 'postcss-html', | ||
}, | ||
{ | ||
files: ['**/*.less'], | ||
customSyntax: 'postcss-less', | ||
}, | ||
], | ||
}; |