Archived
build(stylelint): 更新配置文件导出方式
将 module.exports 更改为 export default 以支持 TypeScript 配置文件
This commit is contained in:
1 parent
137139af5f
commit
8b316c85e9
1 file changed
+1
-1
@@ -10,7 +10,7 @@
|
||||
|
||||
import defineConfig from 'stylelint-define-config'; // [Add support for TypeScript configuration files](https://github.com/stylelint/stylelint/issues/4940)
|
||||
|
||||
module.exports = defineConfig({
|
||||
export default defineConfig({
|
||||
extends: [
|
||||
'stylelint-config-standard',
|
||||
'stylelint-config-recess-order',
|
||||
|
||||
Reference in new issue
Block a user