@cnamts/eslint-config
v2.12.0
Published
ESLint configurations for JavaScript and TypeScript used across our projects
Downloads
179
Readme
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-configUsage
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'
};