Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@eslint-sets/eslint-config-simple-ts

saqqdy27MIT3.3.0

Eslint config sets for simple typescript

eslint-sets, git, tool

readme

@eslint-sets/monorepo

Eslint config sets

NPM version Codacy Badge License

Sonar

Install

e.g: use @eslint-sets/eslint-config-all

# by npm
npm install -D @eslint-sets/eslint-config-all
# by yarn
yarn add @eslint-sets/eslint-config-all
# by pnpm
pnpm install @eslint-sets/eslint-config-all

Usage

// .eslintrc.js
module.exports = {
  extends: ['@eslint-sets/all'],
  rules: {
    // custom rules
  }
}

Issues & Support

Please open an issue here.

License

MIT

changelog

更新日志

2023.01.03 v3.3.0 更新日志

  1. 修复 node17 assertion 解析不到的问题

2022.12.21 v3.2.0 更新日志

  1. 修复 jsx 解析不到的问题
  2. 优化代码

2022.12.20 v3.1.0 更新日志

  1. 处理依赖包版本不一致的问题
  2. 升级依赖包

2022.09.08 v3.0.5 更新日志

  1. 修复eslint-plugin-ts配置
  2. 升级依赖包

2022.07.28 v3.0.4 更新日志

  1. 更改vue配置eslint-plugin-vue版本,修复no-v-for-template-key-on-child问题

2022.07.24 v3.0.3 更新日志

  1. all 包移除 vue 相关插件

2022.07.22 v3.0.2 更新日志

  1. 修复 ts 包的comma-dangle no-unused-varsbrace-style问题

2022.07.21 v3.0.1 更新日志

  1. 更新文档

2022.07.21 v3.0.0 更新日志

  1. 新增all配置,包含 nuxt、egg、vue、vue3、ts、react 全部配置
  2. 升级依赖包

2022.05.03 v2.1.5 更新日志

  1. 新增no-labels,允许 for 循环的 labels

2022.04.23 v2.1.4 更新日志

  1. 修复 simple-ts 解析 ts 报错的问题
  2. 所有包显式引入prettier插件

2022.04.13 v2.1.3 更新日志

  1. 修复解析 es6 的问题
  2. 清理一些用不到的 package

2022.04.11 v2.1.1 更新日志

  1. 修复multiline-ternary异常

2022.04.11 v2.1.0 更新日志

  1. 更新basic ts配置
  2. 增加eslint-config-prettier插件

2022.04.10 v2.0.5 更新日志

  1. 修复vue/html-indent配置

2022.04.10 v2.0.4 更新日志

  1. 修复indent报错

2022.04.10 v2.0.3 更新日志

  1. 修复requireConfigFile报错

2022.04.10 v2.0.2 更新日志

  1. 改用@babel/eslint-parser解析器
  2. 依赖包升级

2022.04.05 v2.0.0 更新日志

  1. 重新整理 egg nuxt react react-ts simple simple-ts vue vue3 vue3-ts 几套配置,抽离出 basic 和 ts 配置
  2. 移除 merge 方法
  3. 全新的引入方式:
// .eslintrc.js
module.exports = {
  extends: ['@eslint-sets/vue3-ts']
}

2022.04.01 v1.0.0 更新日志

  1. 新增 egg nuxt react react-ts simple simple-ts vue vue3 vue3-ts 几套配置
  2. 提供 merge 方法,传入自定义配置
  3. typescript 支持