/eslint-config-mgenware

A set of opinionated rules for typescript-eslint.

Primary LanguageJavaScriptMIT LicenseMIT

eslint-config-mgenware

Build Status

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',
  },
};