2.12.0 • Published 3 years ago
@cnamts/eslint-config
Licence
MIT
Version
2.12.0
Deps
2
Size
7 kB
Vulns
0
Weekly
0
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'
};