npm

@cnamts/eslint-config

2.12.0 • Public • Published

ESLint Config

ESLint configurations for JavaScript and TypeScript used across our projects.

Installation

To install the package, you need to use yarn or npm:

yarn add @cnamts/eslint-config
# OR
npm install @cnamts/eslint-config

Usage

To use the ESLint configuration, you need to create a .eslintrc.js file and use the extends property to reference @cnamts/eslint-config:

module.exports = {
	extends: '@cnamts/eslint-config'
};

To use the TypeScript configuration, you need to reference @cnamts/eslint-config:

module.exports = {
	extends: '@cnamts/eslint-config/typescript'
};

Package Sidebar

Install

npm i @cnamts/eslint-config

Weekly Downloads

60

Version

2.12.0

License

MIT

Unpacked Size

7.08 kB

Total Files

8

Last publish

Collaborators

  • vvachet
  • 4dr1en
  • davidfyon
  • cnam-owner