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

eslint-config-ezcater-react

Package Overview
Dependencies
Maintainers
11
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-ezcater-react

The style config for ezCater's React codebases

  • 6.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
230
decreased by-52.97%
Maintainers
11
Weekly downloads
 
Created
Source

eslint-config-ezcater-react

npm version

Usage

Package extends our base ESLint rules, and includes rules for React, JSX, and Jest.

  1. Install the package as a dev dependency for your project:
npm i eslint-config-ezcater-react --save-dev
  1. Add ezcater-react to the extends section of your project's .eslintrc:
extends: ['ezcater-react'],
  1. Add optional scripts to your package.json to run linting checks:
"scripts": {
  "fix:lint": "eslint . --fix",
  "validate:lint": "eslint .",
}
  1. ESLint is configured here to run Prettier along with the other linting rules. But if your text editor supports a Prettier integration, you will probably need to copy the rules in ./rules/prettier.js into a .prettierrc in your project's root directory:
...in .prettierrc

{
  "singleQuote": true,
  "printWidth": 100,
  "trailingComma": "es5",
  etc...
}

Keywords

FAQs

Package last updated on 22 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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc