You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

eslint-config-trendmicro

Package Overview
Dependencies
Maintainers
4
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-trendmicro

Trend Micro's ESLint config.

3.2.0
latest
Source
npm
Version published
Weekly downloads
344
26.01%
Maintainers
4
Weekly downloads
 
Created
Source

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

  • Install the latest version of eslint-config-trendmicro:
npm install --save-dev eslint-config-trendmicro@latest
  • 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
  • Add "extends": "trendmicro" to .eslintrc:
{
  "extends": "trendmicro",
  "parser": "@babel/eslint-parser",
  "env": {
    "browser": true,
    "node": true
  },
  "plugins": [
    "@babel"
  ],
  "rules": {
  }
}

Keywords

eslint

FAQs

Package last updated on 20 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts