haoma:使用EditorConfig + ESLint + Prettier,助你写出漂亮的前端代码

时间:2021-02-04 19:49:16
【文件属性】:
文件名称:haoma:使用EditorConfig + ESLint + Prettier,助你写出漂亮的前端代码
文件大小:37KB
文件格式:ZIP
更新时间:2021-02-04 19:49:16
eslint prettier editorconfig ESLintTypeScript 好码 使用 + +,助你写出漂亮的前端代码。 安装 # npm npm i haoma -D # or pnpm # 必须启用 shamefully-hoist 配置 # https://pnpm.js.org/en/npmrc#shamefully-hoist pnpm add haoma -D # or yarn yarn add haoma -D 使用 使用以下命令初始化.gitignore , .gitattributes , .editorconfig , .eslintrc.js , .eslintignore , .prettierrc.js , .prettierignore
【文件预览】:
haoma-master
----package.json(5KB)
----.prettierignore(47B)
----haoma-compile.config.ts(1KB)
----jest.config.js(173B)
----tests()
--------index.js(544B)
--------eff.ts(258B)
--------xx2.scss(76B)
--------privateProp.ts(59B)
--------fn.ts(221B)
--------x.test.tsx(1KB)
--------yy.vue(483B)
--------x.css(22B)
--------x.tsx(2KB)
--------dts.d.ts(69B)
--------__snapshots__()
--------y.vue(595B)
--------index.ts(3KB)
--------xx.less(76B)
--------xx3.less(112B)
----LICENSE(1KB)
----src()
--------rollupDts.ts(1KB)
--------swcRegister.ts(172B)
--------jestJavaScriptTransform.ts(289B)
--------getCompileConfig.ts(141B)
--------getESLintConfig.ts(383B)
--------babelPlugins()
--------getPrettierConfig.ts(1KB)
--------generateTypes.ts(976B)
--------getJestConfig.ts(4KB)
--------getBabelConfig.ts(3KB)
--------ESLintConfig.ts(4KB)
--------cli.ts(16KB)
--------types.ts(4KB)
--------jestSetup.ts(331B)
--------compile.ts(4KB)
--------index.ts(317B)
--------defineBabelPlugin.ts(197B)
----.eslintrc.js(162B)
----tsconfig.json(494B)
----.gitignore(75B)
----.browserslistrc(21B)
----CHANGELOG.md(17KB)
----.npmrc(22B)
----.prettierrc.js(98B)
----README.md(874B)
----.eslintignore(33B)
----.editorconfig(417B)
----.gitattributes(151B)
----tsconfig.build.json(57B)
----declarations.d.ts(93B)
----.vscode()
--------settings.json(66B)

网友评论