forked from cucumber/cucumber-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
25 lines (25 loc) · 817 Bytes
/
.eslintrc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
extends:
- 'eslint:recommended'
- 'plugin:import/typescript'
- 'plugin:@typescript-eslint/eslint-recommended'
- 'plugin:@typescript-eslint/recommended'
- prettier
parser: '@typescript-eslint/parser'
parserOptions:
project: './tsconfig.json'
plugins:
- import
- node
- unicorn
- '@typescript-eslint'
rules:
'no-console': 'error'
'import/order': 'error'
'unicorn/prefer-node-protocol': 'error'
# requires strictNullChecks compiler option, produces many errors with messages objects
'@typescript-eslint/strict-boolean-expressions': off
'@typescript-eslint/no-explicit-any': off
'@typescript-eslint/no-inferrable-types': off
'@typescript-eslint/no-empty-function': off
'@typescript-eslint/ban-types': off
'@typescript-eslint/no-unused-vars': [error, { 'argsIgnorePattern': '^_' }]