Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-brad

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-brad

bradzacher's ESlint config

  • 5.0.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
160
increased by19.4%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-brad

ESLint configuration files for my style

Usage

yarn add -D eslint-config-brad @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-plugin-eslint-comments eslint-plugin-import eslint-plugin-jest eslint-plugin-node eslint-plugin-simple-import-sort eslint-restricted-glob

If you're working on a non-react project:

{
    "extends": [
        "brad",
    ],
}

If you're working on a react project:

yarn add -D eslint-plugin-react eslint-plugin-react-hooks
{
    "extends": [
        "brad/react",
    ],
}

Prettier

Standardised prettier config can be used by creating the following .prettierrc.json in your project root:

"eslint-config-brad/prettier"

Developing

Clone the repo, and then install the dependencies yarn install

Available Commands:

  • make build - run a typescript build on each package
  • make lint - lint the entire codebase
  • make format - run prettier on the codebase
  • make show-unused - scan the packages and their plugins to find any rules that haven't been defined
  • make regenerate-types - generate the typescript definition files for all of the valid, non-deprecated rules

FAQs

Package last updated on 22 Aug 2022

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