1.4.0 • Published 1 year ago

@pilaton/eslint-config-next v1.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@pilaton/eslint-config-next

npm

ESLint configuration for code inspection of Next.js projects.

!NOTE Package from the eslint-eco monorepository.
I recommend reading the documentation to understand the whole picture.

Included in the package

@next/eslint-plugin-next

Install

npm i @pilaton/eslint-config-next --save-dev

I recommend using this config over @pilaton/eslint-config-base and @pilaton/eslint-config-react:

npm i @pilaton/eslint-config-base @pilaton/eslint-config-react @pilaton/eslint-config-next --save-dev

Usage

This configuration is created for the new ESLint Flat Config, and only supports ESM!

eslint.config.js (eslint>=v8.23.1)

import base from '@pilaton/eslint-config-base';
import react from '@pilaton/eslint-config-react';
import next from '@pilaton/eslint-config-next';

export default [
  ...base,
  ...react,
  ...next

  {
    // Your config
  },
];
1.4.0

1 year ago

1.3.0

1 year ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.2.0

2 years ago

2.1.0

2 years ago

0.4.4

2 years ago

0.4.3

2 years ago

0.4.0

2 years ago

0.3.0

2 years ago

0.1.0

2 years ago