3.2.0 • Published 3 years ago

eslint-config-trendmicro v3.2.0

Weekly downloads
359
License
MIT
Repository
github
Last release
3 years ago

eslint-config-trendmicro npm version build status

NPM

This package provides .eslintrc as an extensible shared config.

Usage

We export three ESLint configurations for your usage.

eslint-config-trendmicro

  1. Install the latest version of eslint-config-trendmicro:

    npm install --save-dev eslint-config-trendmicro@latest
  2. Ensure peerDependencies are installed with correct version numbers by running:

    npm info "eslint-config-trendmicro@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs -L1 npm install --save-dev

    Which produces and runs commands like this:

    npm install --save-dev eslint@^7.0.0
    npm install --save-dev eslint-plugin-import@latest
    npm install --save-dev eslint-plugin-jsx-a11y@latest
    npm install --save-dev eslint-plugin-react@latest
  3. Add "extends": "trendmicro" to .eslintrc:

    {
      "extends": "trendmicro",
      "parser": "@babel/eslint-parser",
      "env": {
        "browser": true,
        "node": true
      },
      "plugins": [
        "@babel"
      ],
      "rules": {
      }
    }
3.2.0

3 years ago

3.1.1

3 years ago

3.1.0

3 years ago

3.0.0

3 years ago

2.2.0

4 years ago

2.1.0

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.4.1

7 years ago

1.4.0

7 years ago

1.3.1

7 years ago

1.3.0

7 years ago

1.2.1

7 years ago

1.2.0

8 years ago

0.6.0

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago

0.5.1

9 years ago

0.5.0

9 years ago