@fast-china/eslint-config 1.0.1 → 1.0.3

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fast-china/eslint-config",
3
3
  "author": "小方",
4
- "version": "1.0.1",
4
+ "version": "1.0.3",
5
5
  "description": "Fast ESLint 规则库.",
6
6
  "keywords": [
7
7
  "fast",
@@ -20,12 +20,6 @@
20
20
  "url": "https://gitee.com/China-xiaoFang/fast.eslint.config/issues"
21
21
  },
22
22
  "main": "src/index-v8.x.js",
23
- "exports": {
24
- "./flat": {
25
- "import": "./src/index-v9.x.js",
26
- "require": "./src/index-v9.x.js"
27
- }
28
- },
29
23
  "files": [
30
24
  "./Fast.png",
31
25
  "./LICENSE",
package/src/index-v8.x.js CHANGED
@@ -321,7 +321,7 @@ module.exports = defineConfig({
321
321
  // 禁止在自定义组件上使用 v-text 或 v-html 指令
322
322
  "vue/no-v-text-v-html-on-component": "off",
323
323
  // 防止<script setup>使用的变量<template>被标记为未使用,此规则仅在启用该no-unused-vars规则时有效。
324
- "vue/script-setup-uses-vars": "error",
324
+ // "vue/script-setup-uses-vars": "error",
325
325
  // 强制自定义事件名称使用 camelCase 风格命名
326
326
  "vue/custom-event-name-casing": ["error", "camelCase"],
327
327
  // 强制每个 Vue 文件中只包含一个 Vue 组件