RuoYi
2025-05-15 a0ce1cf33becfd60157acfe866fc5da0db3953d7
delete eslint
2 files deleted
7 files modified
236 ■■■■■ changed files
ruoyi-ui/.eslintignore 10 ●●●●● patch | view | raw | blame | history
ruoyi-ui/.eslintrc.js 199 ●●●●● patch | view | raw | blame | history
ruoyi-ui/package.json 19 ●●●●● patch | view | raw | blame | history
ruoyi-ui/src/components/PanThumb/index.vue 1 ●●●● patch | view | raw | blame | history
ruoyi-ui/src/directive/index.js 2 ●●● patch | view | raw | blame | history
ruoyi-ui/src/utils/generator/html.js 1 ●●●● patch | view | raw | blame | history
ruoyi-ui/src/views/tool/build/TreeNodeDialog.vue 1 ●●●● patch | view | raw | blame | history
ruoyi-ui/src/views/tool/build/index.vue 1 ●●●● patch | view | raw | blame | history
ruoyi-ui/vue.config.js 2 ●●●●● patch | view | raw | blame | history
ruoyi-ui/.eslintignore
File was deleted
ruoyi-ui/.eslintrc.js
File was deleted
ruoyi-ui/package.json
@@ -8,19 +8,7 @@
    "dev": "vue-cli-service serve",
    "build:prod": "vue-cli-service build",
    "build:stage": "vue-cli-service build --mode staging",
    "preview": "node build/index.js --preview",
    "lint": "eslint --ext .js,.vue src"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "src/**/*.{js,vue}": [
      "eslint --fix",
      "git add"
    ]
    "preview": "node build/index.js --preview"
  },
  "keywords": [
    "vue",
@@ -63,16 +51,11 @@
  },
  "devDependencies": {
    "@vue/cli-plugin-babel": "4.4.6",
    "@vue/cli-plugin-eslint": "4.4.6",
    "@vue/cli-service": "4.4.6",
    "babel-eslint": "10.1.0",
    "babel-plugin-dynamic-import-node": "2.3.3",
    "chalk": "4.1.0",
    "compression-webpack-plugin": "6.1.2",
    "connect": "3.6.6",
    "eslint": "7.15.0",
    "eslint-plugin-vue": "7.2.0",
    "lint-staged": "10.5.3",
    "sass": "1.32.13",
    "sass-loader": "10.1.1",
    "script-ext-html-webpack-plugin": "2.1.5",
ruoyi-ui/src/components/PanThumb/index.vue
@@ -5,7 +5,6 @@
        <slot />
      </div>
    </div>
    <!-- eslint-disable-next-line -->
    <div :style="{backgroundImage: `url(${image})`}" class="pan-thumb"></div>
  </div>
</template>
ruoyi-ui/src/directive/index.js
@@ -17,7 +17,7 @@
if (window.Vue) {
  window['hasRole'] = hasRole
  window['hasPermi'] = hasPermi
  Vue.use(install) // eslint-disable-line
  Vue.use(install)
}
export default install
ruoyi-ui/src/utils/generator/html.js
@@ -1,4 +1,3 @@
/* eslint-disable max-len */
import { trigger } from './config'
let confGlobal
ruoyi-ui/src/views/tool/build/TreeNodeDialog.vue
@@ -115,7 +115,6 @@
  },
  computed: {},
  watch: {
    // eslint-disable-next-line func-names
    'formData.value': function (val) {
      this.dataType = isNumberStr(val) ? 'number' : 'string'
    }
ruoyi-ui/src/views/tool/build/index.vue
@@ -190,7 +190,6 @@
    }
  },
  watch: {
    // eslint-disable-next-line func-names
    'activeData.label': function (val, oldVal) {
      if (
        this.activeData.placeholder === undefined
ruoyi-ui/vue.config.js
@@ -23,8 +23,6 @@
  outputDir: 'dist',
  // 用于放置生成的静态资源 (js、css、img、fonts) 的;(项目打包之后,静态资源会放在这个文件夹下)
  assetsDir: 'static',
  // 是否开启eslint保存检测,有效值:ture | false | 'error'
  lintOnSave: process.env.NODE_ENV === 'development',
  // 如果你不需要生产环境的 source map,可以将其设置为 false 以加速生产环境构建。
  productionSourceMap: false,
  transpileDependencies: ['quill'],