New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@baltpeter/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@baltpeter/eslint-config

The ESLint configs Benjamin Altpeter uses in his projects.

  • 2.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

@baltpeter/eslint-config

The ESLint configs I use for my projects.

This package contains the ESLint configs I use for my projects. You probably don't want to use this unless you're working on a project with me.

TODO: ESLint's new flat config system will eliminate the need for manually installing the peer dependencies in consuming projects. Switch to that once it works with the CLI.

Usage

This package provides different configs for different use cases.

General

Install this config and its peer dependencies:

yarn add --dev @baltpeter/eslint-config eslint @typescript-eslint/eslint-plugin eslint-plugin-eslint-comments eslint-plugin-import typescript

Then, add the following to your .eslintrc:

{
    "root": true,
    "extends": ["@baltpeter/eslint-config"]
}

Preact

Install this config and its peer dependencies:

yarn add --dev @baltpeter/eslint-config eslint @typescript-eslint/eslint-plugin eslint-plugin-eslint-comments eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react-hooks typescript

Then, add the following to your .eslintrc:

{
    "root": true,
    "extends": ["@baltpeter/eslint-config/preact"]
}

Keywords

FAQs

Package last updated on 04 Aug 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