eslint-config-legacy:xwtec旧项目的ESLint配置

时间:2021-04-07 21:08:21
【文件属性】:
文件名称:eslint-config-legacy:xwtec旧项目的ESLint配置
文件大小:18KB
文件格式:ZIP
更新时间:2021-04-07 21:08:21
JavaScript @ xwtec / eslint-config-legacy xwtec es5项目的ESLint配置 安装 # with yarn yarn add --dev eslint prettier @xwtec/eslint-config-legacy @xwtec/prettier-config # with npm npm install --save-dev eslint prettier @xwtec/eslint-config-legacy @xwtec/prettier-config 配置 添加以下代码 module . exports = { extends : [ '@xwtec/legacy' ] , } ; 到您项目中的.eslintrc.js 。 您可能还需要配置prettier与 。 用法 npx eslint " **/*.js " 规则 错误 # 类
【文件预览】:
eslint-config-legacy-master
----.gitignore(1KB)
----.huskyrc.js(224B)
----package.json(2KB)
----.npmrc(34B)
----commitlint.config.js(185B)
----index.js(877B)
----.github()
--------workflows()
--------dependabot.yml(950B)
----.prettierignore(369B)
----.eslintrc.js(59B)
----lint-staged.config.js(200B)
----scripts()
--------rules.js(1KB)
--------shared()
----license(1KB)
----prettier.config.js(148B)
----.eslintignore(366B)
----readme.md(17KB)
----.markdownlint.json(46B)
----.gitattributes(19B)
----.yarnrc(15B)
----renovate.json(62B)
----.editorconfig(666B)

网友评论