@ravorona/eslint-config-typescript
v5.2.2
Published
ESLint configuration for Typescript
Downloads
101
Readme
ESLint configuration
Typescript code quality guide using ESLint
Install
Yarn:
yarn add -D \
@ravorona/eslint-config-typescript \
eslint \
typescript-eslint \
typescript
NPM:
npm i --save-dev \
@ravorona/eslint-config-typescript \
eslint \
typescript-eslint \
typescript
Usage
Set the shared configurations inside your ESLint configuration
import ravorona from '@ravorona/eslint-config-typescript'
export default [
...ravorona.configs.all,
{
rules: {
'@typescript-eslint/no-inferrable-types': 'error'
}
}
]
Typescript supported rules: Here
Formatting rules
Prefer Prettier for formatting rules.