2.2.2 • Published 2 years ago

@mr-yum-config/eslint-config v2.2.2

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
2 years ago

@mr-yum-config/eslint-config


Installation

yarn add '@mr-yum-config/eslint-config'
pnpm add '@mr-yum-config/eslint-config'

Usage

package.json

{
  "eslintConfig": {
    "extends": ["@mr-yum-config/eslint-config"]
  }
}

or

.eslintrc.js

module.exports = {
  extends: ['@mr-yum-config/eslint-config'],
}

Development

plugin:prettier/recommended should always be last as it is used to purposely disable any eslint rules that conflict with prettier

Feature Flags

Some features can be toggled at runtime:

NameDescriptionDefault
TS_PROJECT_AWAREEnables @typescript-eslint/parser parserOptions.project for type-aware linting. Rules which require this will also be toggled.false
TS_NO_REQUIRE_AWAIT_ERRORFail on @typescript-eslint/require-await rule.False