Socket
Book a DemoInstallSign in
Socket

@headlamp-k8s/eslint-config

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@headlamp-k8s/eslint-config

Lint rules for Headlamp TypeScript projects

latest
Source
npmnpm
Version
0.7.0
Version published
Maintainers
3
Created
Source

Lint Config

This is a shareable ESLint/Prettier/TS config we use inside Headlamp for our Javascript/Typescript projects.

Installation

Install the config from NPM by using the following command:

npm install --save-dev @headlamp-k8s/eslint-config

Install also the peer dependencies NPM suggested (if they're not installed automatically).

You can include it in your package.json file like the following:

  "eslintConfig": {
    "extends": ["@headlamp-k8s", "prettier", "prettier/react"]
  },
  "prettier": "@headlamp-k8s/eslint-config/prettier-config",

Development

Eslint rules should be modified in the .eslintrc.yml file in this repo.

Generate index.js

The index.js file is generated from .eslintrc.yml, and can be generated using:

make

License

lint-config is licensed under Apache 2.0.

Keywords

eslint

FAQs

Package last updated on 07 Nov 2024

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.