New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

eslint-plugin-cake

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-cake

ESLint plugin with misc rules.

latest
Source
npmnpm
Version
0.3.2
Version published
Weekly downloads
75
-10.71%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-plugin-cake

misc rules for eslint

Why?

Originally to have a forked version of eslint-plugin-react's jsx-no-useless-fragment that is safe. Now this repo is a collection of miscellaneous lints I couldn't find elsewhere.

Installation

You'll first need to install ESLint:

yarn add --dev eslint
# or
npm install eslint --save-dev

Next, install eslint-plugin-cake:

yarn add --dev eslint-plugin-cake
# or
npm install eslint-plugin-cake --save-dev

Usage

Add cake to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["cake"]
}

Supported Rules

see docs

Dev

yarn install

s/lint
s/test

# release new version
s/build

# optional, if you want to test locally:
yarn pack

yarn publish

Keywords

eslint

FAQs

Package last updated on 15 Jun 2021

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