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

@bengsfort/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bengsfort/eslint-config

A simple and straight forward eslint config that I use in all of my projects.

  • 1.1.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@bengsfort/eslint-config

Simple and straight forward eslint config that I use in my personal projects.

Installation

  1. Add as a dev dependency.
# Add config.
$ yarn add -D @bengsfort/eslint-config
# Add peer deps if you don't have them yet.
$ yarn add -D eslint @typescript-eslint/parser
  1. Extend the config from your eslint config, and add the ts parser.
module.exports = {
    // . . .

    "extends": [
        "@bengsfort",
    ],
    "parser": "@typescript-eslint/parser",
    "parserOptions": {
        "project": ["./tsconfig.json"], // Path to your tsconfig.
        "ecmaVersion": 21,
        "sourceType": "module",
    },

    // . . .
};

Prettier

Prettier config is also available, just add the following line to your package.json.

{
    "prettier": "@bengsfort/eslint-config/prettier.config.js",
}

FAQs

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