You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@limetech/eslint-config

Package Overview
Dependencies
Maintainers
5
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@limetech/eslint-config

Reusable lint rules for use in other packages.

3.0.2
latest
Source
npmnpm
Version published
Weekly downloads
259
89.05%
Maintainers
5
Weekly downloads
 
Created
Source

Lime Frontend Lint

Reusable lint rules for use in other packages.

Installation

Install using npm:

npm i -D @limetech/eslint-config

Then put a file called eslint.config.mjs in your package root, with the following content:

import { defineConfig } from 'eslint/config';
import config from '@limetech/eslint-config';

export default defineConfig([...config]);

Finally, add a script for running eslint to your package.json, for example:

{"scripts": {
    "lint": "eslint --max-warnings=0",
    "lint:fix": "eslint --fix --max-warnings=0"
  },
}

You can then use npm run lint in your CI workflows, as it will fail on any warnings or errors. On your own machine, you would typically run npm run lint:fix instead, to have eslint automatically fix as many of the problems as possible, and only output warnings or errors for problems that cannot be fixed automatically.

This package also exposes a reusable Prettier config that can be used to lint and format other files not natively covered by ESLint, such as CSS/SCSS files. To use it, create a .prettierrc.mjs file in your package root with the following content:

export { default } from '@limetech/eslint-config/prettier.config.js';

Keywords

Lime

FAQs

Package last updated on 08 Jul 2025

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.