@greenberry/eslint-config-typescript
TypeScript icon, indicating that this package has built-in type declarations

0.1.22 • Public • Published

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;

Readme

Keywords

none

Package Sidebar

Install

npm i @greenberry/eslint-config-typescript

Weekly Downloads

118

Version

0.1.22

License

MIT

Unpacked Size

107 kB

Total Files

23

Last publish

Collaborators

  • the-mo
  • freekboon
  • greenberry_marvin
  • waxsnl
  • bartvandijk