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

@mlaursen/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mlaursen/eslint-config

An eslint config used by mlaursen for most projects.

  • 1.1.8
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
109
increased by1716.67%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config

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

Usage

module.exports = require("@mlaursen/eslint-config");

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: ["@typescript-eslint/recommended-requiring-type-checking"],
    },
    // any custom overrides for this project
  ],
};

FAQs

Package last updated on 02 Nov 2021

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