0.3.5 • Published 12 months ago

@apitree.cz/eslint-config v0.3.5

Weekly downloads
-
License
-
Repository
github
Last release
12 months ago

ESLint Config

ESLint configuration for ApiTree projects

Installation

pnpm add --save-dev @apitree.cz/eslint-config eslint

Usage

Use one of the following configurations in your .eslintrc.cjs:

Base

module.exports = {
  extends: '@apitree.cz',
  parserOptions: {
    project: './tsconfig.json',
    tsconfigRootDir: __dirname,
  },
};

CommonJS

module.exports = {
  extends: '@apitree.cz/eslint-config/cjs',
  parserOptions: {
    project: './tsconfig.json',
    tsconfigRootDir: __dirname,
  },
};

React

module.exports = {
  extends: '@apitree.cz/eslint-config/react',
  parserOptions: {
    project: './tsconfig.json',
    tsconfigRootDir: __dirname,
  },
};

Next.js

module.exports = {
  extends: '@apitree.cz/eslint-config/nextjs',
  parserOptions: {
    project: './tsconfig.json',
    tsconfigRootDir: __dirname,
  },
};

Nest.js

module.exports = {
  extends: '@apitree.cz/eslint-config/nestjs',
  parserOptions: {
    project: './tsconfig.json',
    tsconfigRootDir: __dirname,
  },
};
0.3.0

1 year ago

0.3.5

12 months ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.4

1 year ago

0.3.3

1 year ago

0.2.4

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.10

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago