0.0.13 • Published 9 months ago

@utopia/eslint-config-react v0.0.13

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@utopia/eslint-config-react

该包提供 React 相关的 eslint 配置,内置包含 @utopia/eslint-config-base 中提供的配置,同时支持 React 插件以及 Hooks 等,也可根据个人(团队)规范增加或者重写相关 rules。

Install

npm install --save-dev @utopia/eslint-config-react
# or
yarn add -D @utopia/eslint-config-react

Usage

在 .eslintrc.* 文件中配置:

module.exports = {
  extends: ['@utopia/eslint-config-react']
};

如果需要支持 Hooks

module.exports = {
  extends: ['@utopia/eslint-config-react', '@utopia/eslint-config-react/hooks']
};
0.0.13

9 months ago

0.0.10

11 months ago

0.0.12

11 months ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago