New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

eslint-plugin-no-toxic

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-no-toxic

ESLint Plugin to prohibit toxic words in your codebase

  • 1.0.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created

No Toxic ESLint Plugin

Introduction

Are you a toxic person? sometimes you need to vent your frustration on your codebase, typing some bad words as variables, functions, or even class name.

Like this ...

const aVeryViolentBadWordFunction = () => {
  const badVariable = 10;
  let duckThisSheet = 99;
  let iWannaDie = true
}

BUT don't worry, don't let your manager review your code while these things exists, you can use this ESLint plugin to remind you.

Usage

Install this via NPM

npm install 'eslint-plugin-no-toxic'

Configure your ESLint configuration file

Add script to your package.json file.

"scripts": {
  "lint": ""
}

Run ESLint command

npm lint

FAQs

Package last updated on 18 May 2024

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