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

eslint-config-nifty

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-nifty

NiftyCo's TypeScript ESLint shared config


Version published
Maintainers
1
Created

eslint-config-nifty

ESLint shareable config for NiftyCo projects

Install

npm install --save-dev eslint-config-prettier

Usage

Add some ESLint config to your package.json:

{
  "name": "my-nifty-app",
  "version": "1.2.4",
  "eslintConfig": {
    "extends": "nifty"
  }
}

or to .eslintrc:

{
  "extends": "nifty"
}

This package also exposes nifty/react if you're working in React codebases.

Install additional dependencies

npm install --save-dev eslint-plugin-react eslint-plugin-jsx-a11y eslint-plugin-react-hooks

Then extends nifty/react like so:

{
  "extends": "nifty/react"
}

FAQs

Package last updated on 20 Feb 2023

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