1.2.0 • Published 4 years ago
@woqutech/eslint-config-react v1.2.0
JavaScript(React) Style Guide
本代码规范基于 React specific linting rules for ESLint 与 React Hooks 插件修改而成。
掌握本规范的最好方法是结合 @woqutech/lint-js 工具在代码中使用它,验证它。
使用
$ npm install -D @woqutech/lint-js
$ ./node_modules/.bin/lint-js
规则细则
建议直接阅读配置文件 index.js
并结合 React specific linting rules for ESLint 文档对照学习。