@csendin/eslint-config
v2.0.1
Published
ESLint configuration used by Caio Sendin.
Downloads
6
Readme
Caio Sendin ESLint Config
A powerful and flexible ESLint configuration designed for Node.js, React, and Next.js projects, ensuring high-quality and consistent code across your codebase.
Table of Contents
What's Included?
This package offers a set of predefined ESLint configurations tailored for different environments:
- Standard Config Base: General rules that apply across various environments.
- React Plugin: Optimizes linting for React projects.
- Prettier: Integrates Prettier for consistent code formatting.
Note: The React Hooks plugin and other plugins are currently being updated to support the latest ESLint version. Please check back for updates.
Installation & Setup
React with Next.js
Install dependencies:
npm i @csendin/eslint-config -DConfigure ESLint: Update your
eslint.config.mjsfile:import config from '@csendin/eslint-config/next.mjs' /** @type {import('eslint').Linter.Config[]} */ export default [...config]
React
Install dependencies:
npm i @csendin/eslint-config -DConfigure ESLint: Update your
eslint.config.mjsfile:import config from '@csendin/eslint-config/react.mjs' /** @type {import('eslint').Linter.Config[]} */ export default [...config]
Node.js
Install dependencies:
npm i @csendin/eslint-config -DConfigure ESLint: Update your
eslint.config.mjsfile:import config from '@csendin/eslint-config/node.mjs' /** @type {import('eslint').Linter.Config[]} */ export default [...config]
Contributing
Contributions are welcome! Please open an issue or submit a pull request if you have suggestions for improvements.
