Socket
Socket
Sign inDemoInstall

eslint-config-trendmicro

Package Overview
Dependencies
231
Maintainers
4
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-config-trendmicro

Trend Micro's ESLint config.


Version published
Weekly downloads
178
decreased by-20.54%
Maintainers
4
Install size
3.77 MB
Created
Weekly downloads
 

Readme

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

  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": {
  }
}

Keywords

FAQs

Last updated on 20 Oct 2022

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc