包详细信息

@iskl/eslint-plugin

sklme17ISC1.1.2

common eslint config for dev comvenience

eslint-config, eslint, vue

自述文件

常用的一些 eslint 配置,方便复用与开发

使用方法

.eslintrc中添加配置

Vue

nodule.exports = {
  extends: [
    //
    "plugin:@iskl/vue-ts-typecheck", // 或者 plugin:@iskl/eslint-plugin/vue-ts-typecheck
    /**
     * 有多个配置,从上倒下,下方的配置包括前面的所有配置
     *
     * base
     * 1. base eslint的基础配置
     *
     * ts
     * 1. ts-base ts eslint的基础配置
     * 2. ts-typecheck 在上一个配置的基础上加上类型检查
     *
     * vue
     * 1. vue vue的基本配置
     * 2. vue-ts 在上一个的基础上增加ts的支持
     * 3. vue-ts-typecheck 在上一个的基础上会增加类型的提示
     */

    // 其他配置
    "prettier",
  ],
};

更新日志

Changelog

1.1.2 (2023-01-30)

Bug Fixes

1.1.1 (2023-01-30)

Bug Fixes

  • 解决没有输出的问题 (4f41e82)

1.1.0 (2023-01-30)

Features

  • 增加对纯ts的支持 (a7e5568)

1.0.3 (2023-01-30)

Bug Fixes

  • 不在要求eslint-plugin-vue作为peerDependencies (48b96ed)

1.0.2 (2022-08-15)

Bug Fixes

  • dependencies to devDependencies and peer (fb4c23d)

1.0.1 (2022-08-05)

Bug Fixes

1.0.0 (2022-08-05)

Features