@icebreakers/eslint-config 1.6.2 → 1.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -205,14 +205,16 @@ function resolveTailwindPresets(option) {
205
205
  (0, antfu_exports.interopDefault)(
206
206
  import("eslint-plugin-better-tailwindcss")
207
207
  ).then((eslintPluginBetterTailwindcss) => {
208
+ const betterTailwindcssRules = {
209
+ ...eslintPluginBetterTailwindcss.configs["recommended-warn"].rules,
210
+ ...eslintPluginBetterTailwindcss.configs["recommended-error"].rules
211
+ };
208
212
  return {
213
+ name: "icebreaker/better-tailwindcss",
209
214
  plugins: {
210
215
  "better-tailwindcss": eslintPluginBetterTailwindcss
211
216
  },
212
- rules: {
213
- ...eslintPluginBetterTailwindcss.configs["recommended-warn"].rules,
214
- ...eslintPluginBetterTailwindcss.configs["recommended-error"].rules
215
- },
217
+ rules: betterTailwindcssRules,
216
218
  settings: {
217
219
  "better-tailwindcss": {
218
220
  entryPoint: option.entryPoint,
@@ -383,6 +385,7 @@ function isObject(o) {
383
385
  // src/options.ts
384
386
  var BASE_DEFAULTS = {
385
387
  formatters: true,
388
+ pnpm: false,
386
389
  javascript: {
387
390
  overrides: {
388
391
  "curly": ["error", "all"],
package/dist/index.js CHANGED
@@ -181,14 +181,16 @@ function resolveTailwindPresets(option) {
181
181
  (0, antfu_exports.interopDefault)(
182
182
  import("eslint-plugin-better-tailwindcss")
183
183
  ).then((eslintPluginBetterTailwindcss) => {
184
+ const betterTailwindcssRules = {
185
+ ...eslintPluginBetterTailwindcss.configs["recommended-warn"].rules,
186
+ ...eslintPluginBetterTailwindcss.configs["recommended-error"].rules
187
+ };
184
188
  return {
189
+ name: "icebreaker/better-tailwindcss",
185
190
  plugins: {
186
191
  "better-tailwindcss": eslintPluginBetterTailwindcss
187
192
  },
188
- rules: {
189
- ...eslintPluginBetterTailwindcss.configs["recommended-warn"].rules,
190
- ...eslintPluginBetterTailwindcss.configs["recommended-error"].rules
191
- },
193
+ rules: betterTailwindcssRules,
192
194
  settings: {
193
195
  "better-tailwindcss": {
194
196
  entryPoint: option.entryPoint,
@@ -359,6 +361,7 @@ function isObject(o) {
359
361
  // src/options.ts
360
362
  var BASE_DEFAULTS = {
361
363
  formatters: true,
364
+ pnpm: false,
362
365
  javascript: {
363
366
  overrides: {
364
367
  "curly": ["error", "all"],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@icebreakers/eslint-config",
3
3
  "type": "module",
4
- "version": "1.6.2",
4
+ "version": "1.6.4",
5
5
  "description": "ESLint preset from Icebreaker's dev-configs",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -41,7 +41,7 @@
41
41
  "dist"
42
42
  ],
43
43
  "dependencies": {
44
- "@antfu/eslint-config": "6.4.1",
44
+ "@antfu/eslint-config": "6.4.2",
45
45
  "@eslint-react/eslint-plugin": "^2.3.12",
46
46
  "@next/eslint-plugin-next": "^16.0.7",
47
47
  "@tanstack/eslint-plugin-query": "^5.91.2",