@xiaohe01/stylelint-config
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -16,2 +16,3 @@ import { Plugin, ConfigRuleSettings, Config } from 'stylelint'; | ||
} | ||
type ConfigOverrides = Config["overrides"]; | ||
interface ConfigPresets { | ||
@@ -26,4 +27,6 @@ scss?: boolean; | ||
overridePlugins?: Config["plugins"]; | ||
overrideOverrides?: Config["overrides"]; | ||
} | ||
declare function buildOverrides(options: ConfigOptions): ConfigOverrides; | ||
declare function defineConfig(options?: ConfigOptions): Config; | ||
@@ -33,2 +36,2 @@ | ||
export { type Arrayable, type ConfigExtend, type ConfigExtends, type ConfigOptions, type ConfigPlugin, type ConfigPlugins, type ConfigPresets, type ConfigRule, type ConfigRules, SCSS_PACKAGES, UNIAPP_PACKAGE, VUE_PACKAGES, defineConfig, isPkgExists }; | ||
export { type Arrayable, type ConfigExtend, type ConfigExtends, type ConfigOptions, type ConfigOverrides, type ConfigPlugin, type ConfigPlugins, type ConfigPresets, type ConfigRule, type ConfigRules, SCSS_PACKAGES, UNIAPP_PACKAGE, VUE_PACKAGES, buildOverrides, defineConfig, isPkgExists }; |
{ | ||
"name": "@xiaohe01/stylelint-config", | ||
"type": "module", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "🤚 Stylelint config preset for xiaohe", | ||
@@ -43,2 +43,4 @@ "author": "xiaohe0601 <xiaohe0601@outlook.com>", | ||
"lodash-es": "^4.17.21", | ||
"postcss-html": "^1.7.0", | ||
"postcss-scss": "^4.0.9", | ||
"stylelint-config-html": "^1.1.0", | ||
@@ -45,0 +47,0 @@ "stylelint-config-recess-order": "^5.1.1", |
@@ -42,3 +42,3 @@ <div align="center"> | ||
```js | ||
import defineConfig from "@xiaohe01/stylelint-config"; | ||
import { defineConfig } from "@xiaohe01/stylelint-config"; | ||
@@ -45,0 +45,0 @@ export default defineConfig(); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
17800
354
11
+ Addedpostcss-html@^1.7.0
+ Addedpostcss-scss@^4.0.9