eslint-config-mgenware
A set of opinionated rules for typescript-eslint.
Usage
Installation:
npm i -D eslint-config-mgenware eslint "@typescript-eslint/parser" "@typescript-eslint/eslint-plugin" "eslint-plugin-import"
.eslintrc.cjs
:
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
extends: ['mgenware'],
parserOptions: {
sourceType: 'module',
project: './tsconfig.json',
},
};