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

eslint-config-cntral

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-cntral

ESLint configuration as preferred by the CNTRAL Family.

  • 3.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

CNTRAL's ESLint Configuration

ESLint configuration as preferred by the CNTRAL Family.

We're an opinionated bunch at CNTRAL, or at least some of us are. This collection of ESLint settings and rules are our currently preferred setup when linting for Javascript, particularly with React.

This is a living document so feel free to pull from main to get the latest improvements as we update things based on our latest opinions. Otherwise, lock it in to a specific version and upgrade as you see fit.

Usage

package.json

"devDependencies": {
  "eslint-config-cntral": "joshuapinter/eslint-config-cntral"
}

.eslintrc.json

{
  "extends": "cntral"
}

Then simply npm install and now your ESLint configuration is the same as CNTRAL's.

You can overwrite any configuration as you see fit by just adding additional rules to your .eslintrc.json file, such as:

{
  "extends": "cntral",
  
  "rules": {
    "no-unused-vars": [ "error", { "argsIgnorePattern": "^_" } ]
  }
}

Keywords

FAQs

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

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