mirror of
https://github.com/zkitter/ui.git
synced 2026-01-08 20:57:59 -05:00
31 lines
832 B
YAML
31 lines
832 B
YAML
plugins: [ '@typescript-eslint' ]
|
|
extends: [ 'eslint:recommended', 'plugin:@typescript-eslint/eslint-recommended', 'plugin:import/recommended', 'prettier' ]
|
|
parser: '@typescript-eslint/parser'
|
|
parserOptions:
|
|
project: [ 'tsconfig.json' ]
|
|
root: true
|
|
settings:
|
|
import/resolver:
|
|
- typescript
|
|
rules:
|
|
'@typescript-eslint/explicit-function-return-type': off
|
|
'@typescript-eslint/return-await': off
|
|
'@typescript-eslint/no-unused-vars': warn
|
|
import/no-unresolved:
|
|
- error
|
|
- ignore: [ '\.gif', '\.png', '\.svg' ]
|
|
no-case-declarations: warn
|
|
no-console: off
|
|
no-empty:
|
|
- error
|
|
- allowEmptyCatch: true
|
|
no-unused-vars: off
|
|
|
|
overrides:
|
|
- files: ['./src/components/DraftEditor/index.tsx']
|
|
rules:
|
|
no-useless-escape: warn
|
|
- files: ['./src/**/*.ts']
|
|
rules:
|
|
no-async-promise-executor: warn
|