1.1.2 • Published 1 year ago

@iskl/eslint-plugin v1.1.2

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

常用的一些 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",
  ],
};
1.1.1

1 year ago

1.1.0

1 year ago

1.1.2

1 year ago

1.0.3

1 year ago

1.0.2

2 years ago

1.0.1

2 years ago