Socket
Book a DemoInstallSign in
Socket

@greenberry/eslint-config-typescript

Package Overview
Dependencies
Maintainers
5
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@greenberry/eslint-config-typescript

ESLint and Prettier bundle for all things Greenberry.

latest
Source
npmnpm
Version
0.1.35
Version published
Maintainers
5
Created
Source

Greenberry eslint-config-typescript

ESLint and Prettier bundle for all things Greenberry.

Install

npm i -D  @greenberry/eslint-config-typescript

NextJS

⚠️ Requires @next/eslint-plugin-next

eslint.config.js:

import { eslintConfig } from "@greenberry/eslint-config-typescript";

const config = [...eslintConfig];

export default config;

prettier.config.js:

import { prettierConfig } from "@greenberry/eslint-config-typescript";

const config = {
  ...prettierConfig,
};

export default config;

stylelint.config:

⚠️ Beta `

import { stylelintConfig } from "@greenberry/eslint-config-typescript";

const config = {
  ...stylelintConfig,
};

export default config;

❗️ Deprecated eslint.config.json: ⚠️ Required next ^15.0.0 and eslint ^9.0.0

npm i -D  @greenberry/eslint-config-typescript globals @babel/preset-react
import eslintConfig from "@greenberry/eslint-config-typescript/dist/legacy/eslint.config.js";

const config = [...eslintConfig];

export default config;

FAQs

Package last updated on 21 Jan 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.