@polymarbot/eslint-config-shared 0.2.3 → 0.2.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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -295,8 +295,8 @@ function tailwindcss_default(scopes) {
295
295
  // enable all recommended rules to report an error
296
296
  ...tailwindcss.configs["recommended-error"].rules,
297
297
  // disable specific rules
298
- "better-tailwindcss/no-unregistered-classes": "off",
299
- // 关闭未注册类的检查
298
+ "better-tailwindcss/no-unknown-classes": "off",
299
+ // 关闭未知类的检查
300
300
  ...typeof scopes?.tailwindcss === "object" ? scopes.tailwindcss.rules : {}
301
301
  },
302
302
  settings: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polymarbot/eslint-config-shared",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "description": "Eslint@10 shared config",