Socket
Socket
Sign inDemoInstall

@mlaursen/eslint-config

Package Overview
Dependencies
508
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @mlaursen/eslint-config

An eslint config used by mlaursen for most projects.


Version published
Weekly downloads
9
decreased by-70.97%
Maintainers
1
Created
Weekly downloads
 

Changelog

Source

2.4.0 (2023-07-03)

Features

  • deps: bump dependencies to latest to support latest typescript (f44c6f4)

Readme

Source

eslint-config

A reusable eslint config that I use for most of my projects.

Usage

module.exports = {
  extends: "@mlaursen/eslint-config",
};

Additional Type Checking

Or if I want to do additional rules and strict type checking linting rules:

module.exports = {
  extends: "@mlaursen/eslint-config",
  parserOptions: {
    tsconfigRootDir: __dirname,
    project: ["./tsconfig.json"],
  },
  rules: {
    // any custom rules for this project
  },
  overrides: [
    {
      files: ["**/*.ts", "**/*.tsx"],
      extends: [
        "plugin:@typescript-eslint/recommended-requiring-type-checking",
      ],
    },
    // any custom overrides for this project
  ],
};

Keywords

FAQs

Last updated on 03 Jul 2023

Did you know?

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc