@devlander/eslint-prettier
v1.0.18
Published
**Devlander ESLint Prettier**
Downloads
21
Readme
Devlander ESLint Prettier
A robust shared configuration package bundling ESLint, Prettier, and TypeScript settings for contemporary JavaScript and TypeScript developments.
on npm
A comprehensive shared configuration package that includes ESLint, Prettier, and TypeScript configurations tailored for modern JavaScript and TypeScript projects.
Installation
To get started, install the package via npm or yarn:
npm install @devlander/eslint-prettier --save-dev
or
yarn add @devlander/eslint-prettier --dev
Usage
ESLint
To use the shared ESLint configuration:
- Extend your project's .eslintrc.js (or equivalent) with @devlander/eslint-prettier:
module.exports = {
extends: ["@devlander/eslint-prettier"],
// ... your other ESLint configurations
};
Prettier
module.exports = require('@devlander/eslint-prettier/prettierConfig');
TypeScript
inside of your tsconfig.json
{
"extends": "@devlander/eslint-prettier/dist/tsconfig.json",
// ... your other TypeScript configurations
}
Peer Dependencies
- eslint: ^7.0.0
Contributing
If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.