This package includes a set of ESLint configurations for modern fullstack projects that rock.
The package includes:
Package | Description | Rules |
---|---|---|
@zemd/eslint-js |
A bundle that comprises rules for javascript | |
@zemd/eslint-ts |
A bundle that comprises rules for typescript | |
@zemd/eslint-react |
A bundle that comprises rules for react | |
@graphql-eslint/eslint-plugin |
GraphQL ESLint rules |
schema-recommended and operations-recommended
|
eslint-plugin-tailwindcss |
recommended excluding classnames-order
|
|
eslint-plugin-turbo |
recommended |
|
@vitest/eslint-plugin |
recommended |
|
eslint-plugin-storybook |
recommended , csf-strict . The rules are available but not included by default |
npm install --save-dev @zemd/eslint-rock-stack
// 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()];
The @zemd/eslint-rock-stack
is licensed under the Apache-2.0 license.