1.0.0 • Published 3 days ago
@zemd/eslint-rock-stack v1.0.0
@zemd/eslint-rock-stack
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 |
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()];
License
The @zemd/eslint-rock-stack
is licensed under the Apache-2.0 license.
Donate
1.0.0
3 days ago