3.2.2 • Published 9 months ago
@motech-development/eslint-config-motech-base v3.2.2
Motech Development base ESLint config
Reusable ESLint config
Installation
- Install
@motech-development/eslint-config-motech-baseas a development dependency.
# Yarn
yarn add -D @motech-development/eslint-config-motech-base
# NPM
npm i -D @motech-development/eslint-config-motech-base- Extend your ESLint config.
{
"extends": "@motech-development/eslint-config-motech-base"
}module.exports = {
extends: '@motech-development/eslint-config-motech-base',
};- Configure TypeScript by ensuring there is both a
tsconfig.jsonandtsconfig.eslint.jsonfile in your project. The latter config is for any additional files that are outside your TypeScript project that are picked up by ESLint.