0.3.4 • Published 19 days ago

@crossingminds/eslint-config v0.3.4

Weekly downloads
-
License
-
Repository
-
Last release
19 days ago

@crossingminds/eslint-config

This ESLint configuration package enforces a consistent coding style and best practices for JavaScript and TypeScript projects, supporting both regular and React projects.

Installation

Choose one of the following methods to install the package in your project:

Using npm

npm install --save-dev @crossingminds/eslint-config

Using yarn

yarn add --dev @crossingminds/eslint-config

Using pnpm

pnpm add --save-dev @crossingminds/eslint-config

Usage

Example .eslintrc.js file for non-React projects:

module.exports = {
  extends: ['@crossingminds/eslint-config'],
};

Example .eslintrc.js file for React projects:

module.exports = {
  extends: ['@crossingminds/eslint-config/react'],
};

Additional Dependencies

In addition to the configuration package, you will need to install the following dev dependencies:

  • eslint
  • typescript (for JavaScript projects when using Yarn)