@mr-yum-config/eslint-config
v2.2.2
Published
---
Downloads
2
Readme
@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:
| Name | Description | Default |
|---|---|---|
| TS_PROJECT_AWARE | Enables @typescript-eslint/parser parserOptions.project
for type-aware linting. Rules which require this will also be toggled. | false |
| TS_NO_REQUIRE_AWAIT_ERROR | Fail on @typescript-eslint/require-await
rule. | False |