0.0.1 • Published 10 months ago
@solar_fe/spec v0.0.1
@solar_fe/spec
个人使用的 ESLint(支持 TypeScript) / Stylelint / Prettier / Commitlint 规则
安装
npm install @solar_fe/eslint-config -D
使用
创建 .eslintrc.js
并加入以下配置:
module.exports = {
extends: [
'@solar_fe/eslint-config' // JS 项目
// '@solar_fe/eslint-config/typescript' // TS 项目
// '@solar_fe/eslint-config/react' // React 项目
// '@solar_fe/eslint-config/typescript/react' // React-Ts
],
};
0.0.2-alpha.0
10 months ago
0.0.1
10 months ago