Nitrogen Pumpkin Mulch

    eslint-config-trendmicro

    3.1.1 • Public • Published

    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
    1. 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
    1. Add "extends": "trendmicro" to .eslintrc:
    {
      "extends": "trendmicro",
      "parser": "@babel/eslint-parser",
      "env": {
        "browser": true,
        "node": true
      },
      "plugins": [
        "@babel"
      ],
      "rules": {
      }
    }

    Install

    npm i eslint-config-trendmicro

    DownloadsWeekly Downloads

    546

    Version

    3.1.1

    License

    MIT

    Unpacked Size

    16.9 kB

    Total Files

    9

    Last publish

    Collaborators

    • trendmicro-frontend
    • cheton
    • rothpeng
    • smalltase