@opendt/eslint-config

1.0.2 • Public • Published

ESLint Configs

Install

  1. install the dependency
npm install @opendt/config-config --save-dev
  1. use one of the following configs in your eslintrc file
{
  extends: [
    "@opendt",                              // default, common rules for js
    "@opendt/eslint-config/react-native",   // for react-native
    "@opendt/eslint-config/wechat-mini",    // for wechat mini program
    "@opendt/eslint-config/web",            // for web project
  ],
}

Coding Rules

See: JS代码规范

Readme

Keywords

none

Package Sidebar

Install

npm i @opendt/eslint-config

Weekly Downloads

0

Version

1.0.2

License

none

Unpacked Size

37.4 kB

Total Files

9

Last publish

Collaborators

  • wangxinyu1
  • yeoyang