Socket
Socket
Sign inDemoInstall

@bjerk/eslint-config

Package Overview
Dependencies
Maintainers
7
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bjerk/eslint-config

These are Bjerk's eslint config, used on most of our projects.


Version published
Weekly downloads
90
decreased by-67.39%
Maintainers
7
Weekly downloads
 
Created
Source

eslint-config

These are Bjerk's eslint config, used on most of our projects.

This is derived work from runeh and Indiv AS: https://github.com/runeh/typical-fetch/blob/main/.eslintrc.json

We'd actually love more users of our config, so if you have ideas on improvements – please file an issue or pull request!

yarn add @bjerk/eslint-config

If you want help installing the bunch of peerDependencies for this package, consider using this:

npx check-peer-dependencies

Or, if you're using pnpm, you can make it install peer dependencies automatically:

pnpm config set auto-install-peers true --location project

To make all this config work, you only need to add this to package.json:

{
  "eslintConfig": {
    "extends": "@bjerk/eslint-config"
  }
}

Tip: We often use this along with @simenandre/prettier, a shared Prettier config.

Migrate from v2?

We removed jest-related rules in v3, essentially making jest an optional dependency. In our experience, we don't necessarily want to use Jest for every project anymore. Versions below v3 require jest.

Here are the steps to get it working [again]:

Run this in your terminal:

yarn add -D eslint-plugin-jest
{
  "eslintConfig": {
    "extends": ["@bjerk/eslint-config", "plugin:jest/recommended"],
    "plugins": ["jest"]
  }
}

FAQs

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