1.1.4 • Published 7 days ago

@zemd/eslint-rock-stack v1.1.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
7 days ago

@zemd/eslint-rock-stack

npm

This package includes a set of ESLint configurations for modern fullstack projects that rock.

The package includes:

PackageDescriptionRulesLicense
@zemd/eslint-jsA bundle that comprises rules for javascriptApache 2.0
@zemd/eslint-tsA bundle that comprises rules for typescriptApache 2.0
@zemd/eslint-reactA bundle that comprises rules for reactApache 2.0
@graphql-eslint/eslint-pluginGraphQL ESLint rulesschema-recommended and operations-recommendedMIT
eslint-plugin-tailwindcsssince v1.1.0 the config is optional due to Tailwind v4 release, which is not supported by the configrecommended excluding classnames-orderMIT
eslint-plugin-turborecommendedMIT
@vitest/eslint-pluginrecommendedMIT
eslint-plugin-storybookrecommended, csf-strict. The rules are available but not included by defaultMIT

Installation

npm install --save-dev @zemd/eslint-rock-stack

Usage

// eslint.config.js

import rock, { storybook } from "@zemd/eslint-rock-stack";
// if you do not want to use default bundle, you can import each configuration separately
// import { react, graphql, playwright, tailwind, turbo, vitest } from "@zemd/eslint-rock-stack";

export default [...rock(), ...storybook()];

if you want to use Tailwind config for Tailwind v3, install optional dependency:

pnpm add -D eslint-plugin-tailwindcss

and import the config:

import rock from "@zemd/eslint-rock-stack";
import tailwind from "@zemd/eslint-rock-stack/tailwind";

export default [...rock(), ...tailwind()];

License

The @zemd/eslint-rock-stack is licensed under the Apache-2.0 license.

Donate

npm.io