1.0.15 • Published 3 months ago

@zemd/eslint-next v1.0.15

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 months ago

Shared ESLint config for next.js projects

npm Static Badge

This package includes a set of ESLint configurations for Next.js projects.

The package includes:

PackageDescriptionRulesLicense
@zemd/eslint-rockApache 2.0
@next/eslint-plugin-nextOfficial next.js eslint pluginrecommended, core-web-vitals and additional fixes for the react-refresh if enabledMIT

Installation

npm install --save-dev @zemd/eslint-next

Usage

Basic Setup

// eslint.config.js

import next from "@zemd/eslint-next";
export default [...next()];

More Advanced Setup

You can cherry-pick only what you need:

// eslint.config.js

// you can import any rule set separately from the underlying packages
// if you want to get the rules for the next.js, just import it from the package
import { next, javascript, typescript, react } from "@zemd/eslint-next";

export default [...next(), ...javascript(), ...typescript(), ...react()];

You might be also interested in

PackageVersionDescription
@zemd/eslint-jsnpmJavaScript-only rules.
@zemd/eslint-tsnpmTypeScript rules (includes JS rules from @zemd/eslint-js).
@zemd/eslint-reactnpmReact rules (includes TS rules from @zemd/eslint-ts and JS rules from @zemd/eslint-js).
@zemd/eslint-rock-stacknpmRules for Fullstack projects that include React.js, GraphQL, Playwright, Tailwind(optional), Turbo, Vitest, and Storybook.
@zemd/eslint-nextnpmRules for Next.js projects (inherits from @zemd/eslint-rock-stack).

License

The @zemd/eslint-next is licensed under Apache-2.0 license 😇.

💙 💛 Donate

npm.io

1.0.15

3 months ago

1.0.14

3 months ago

1.0.13

3 months ago

1.0.9

4 months ago

1.0.11

4 months ago

1.0.10

4 months ago

1.0.12

4 months ago

1.0.8

4 months ago

1.0.7

4 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.6

4 months ago

1.0.5

4 months ago

1.0.4

5 months ago

1.0.3

5 months ago

1.0.0

5 months ago