1.0.1 • Published 4 years ago

eslint-config-goalkeeper v1.0.1

Weekly downloads
2
License
ISC
Repository
gitlab
Last release
4 years ago

eslint-config-goalkeeper


使用方法

  1. npm i eslint-config-goalkeeper -S-dev
  2. 项目根目录添加.eslintrc.js
    module.exports = {
        root: true,
        env: {
            browser: true,
            es2021: true,
            node: true
        },
        extends: [
            'goalkeeper'
        ],
        globals: {
            wx: true    // 全局变量,按需添加,例如wx
        }
    };
  3. 编辑器上安装eslint插件(建议),并指定使用项目中的校验规则
1.0.1

4 years ago

1.0.0

4 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago