library/.eslintrc.yml

33 lines
688 B
YAML
Raw Normal View History

2021-11-16 22:18:20 -05:00
root: true
parser: "@typescript-eslint/parser"
2021-10-30 19:44:32 -04:00
parserOptions:
project: ./tsconfig.json
2021-11-16 22:18:20 -05:00
extends:
- "eslint:recommended"
- "plugin:@typescript-eslint/recommended"
- "plugin:@typescript-eslint/recommended-requiring-type-checking"
- "plugin:import/errors"
- "plugin:import/warnings"
- "plugin:import/typescript"
- "plugin:prettier/recommended"
2021-10-30 19:44:32 -04:00
plugins:
2021-11-16 22:18:20 -05:00
- "@typescript-eslint"
2021-10-30 19:44:32 -04:00
- prettier
rules:
2021-11-16 22:18:20 -05:00
prettier/prettier: "error"
2021-11-13 20:41:05 -05:00
2021-11-16 22:18:20 -05:00
import/first: error
2021-10-30 19:44:32 -04:00
import/order:
2021-11-16 22:18:20 -05:00
- error
2021-10-30 19:44:32 -04:00
- newlines-between: always
alphabetize:
order: asc
caseInsensitive: true
# Enabled in tsconfig
2021-11-16 22:18:20 -05:00
"@typescript-eslint/no-unused-vars": off
2021-11-13 20:41:05 -05:00
import/no-unresolved: off