【文件属性】:
文件名称:eslint-config-typescript-tc:用于TypeScript项目的ESLint共享配置
文件大小:95KB
文件格式:ZIP
更新时间:2021-03-19 11:27:03
javascript styleguide typescript eslint style-linter
eslint-config-typescript-tc
用于TypeScript项目的ESLint
什么是eslint-config-typescript-tc?
ESLint的共享配置。请按照以下说明轻松地将此配置包含在另一个项目中,而不必复制文件!
如何安装?
首先,让我们确保您具有必要的先决条件。
系统依赖
节点
-v10.0.0 +
-v6.0.0 +
命令
npx install-peerdeps --dev eslint-config-typescript-tc
@ typescript-eslint / parser和eslint-config-prettier是对等项依赖项,必须安装。
与配对时,此模块效果最佳。请按照其安装说明进行操作。
用法
将以下内容添加到您的.eslintrc.json文件中:
{
" extends " : " eslint-conf
【文件预览】:
eslint-config-typescript-tc-main
----.eslintrc.json(64B)
----.gitattributes(190B)
----.npmpackagejsonlintrc.json(51B)
----.github()
--------dependabot.yml(223B)
--------workflows()
----CONTRIBUTING.md(2KB)
----LICENSE(1KB)
----test()
--------tests.test.js(2KB)
--------fixtures()
----README.md(2KB)
----.editorconfig(346B)
----.gitignore(2KB)
----index.js(8KB)
----CHANGELOG.md(259B)
----package-lock.json(404KB)
----package.json(2KB)