ESLint 配置文件 - ts-guard

eslint-config-ts-guard 是一个 ESLint 配置文件集合,用于保护 JavaScript 和 TypeScript 开发中的不同领域。其中包括:

  • ts-guard: TypeScript 相关规则配置。
  • ts-guard/ext: TypeScript 类型检查规则配置。
  • ts-guard/test: 适用于测试环境的配置,放宽了某些规则。
  • ts-guard/test-jest: 适用于 Jest 测试框架的配置。
  • ts-guard/test-mocha: 适用于 Mocha 测试框架的配置。

要使用这些配置,请在你的 ESLint 配置文件中指定 parserOptions.project

zip
eslint-config-ts-guard-master.zip 预估大小:25个文件
folder
eslint-config-ts-guard-master 文件夹
file
optimum.js 57B
file
indent.js 56B
file
esnext.js 56B
file
index.js 8KB
file
test.js 209B
file
package.json 1KB
file
node.js 54B
file
react.js 55B
file
ext.js 968B
file
proper-arrows.js 63B
file
LICENSE 1KB
file
package-lock.json 12KB
file
test-jest.js 102B
file
editor.js 56B
file
ext-style.js 59B
file
.gitignore 587B
file
guard.js 49B
file
no-prettier.js 61B
file
CHANGELOG.md 3KB
file
optimum-next.js 62B
file
README.md 5KB
file
.editorconfig 117B
file
test-mocha.js 103B
file
style.js 55B
file
jsdoc.js 55B
zip 文件大小:14.68KB