eslint-plugin-ad-fe
广告研发前端各项目通用 eslint 插件。
Installation
You'll first need to install ESLint:
$ yarn add eslint --dev
Next, install eslint-plugin-adfe
:
$ yarn add @yy/eslint-plugin-adfe --dev
Usage
Add ad-fe
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"extends": [
"plugin:@yy/eslint-plugin-adfe/react-ts"
]
}