-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbase.js
37 lines (37 loc) · 1000 Bytes
/
base.js
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
26
27
28
29
30
31
32
33
34
35
36
37
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
sourceType: 'module'
},
extends: [
'eslint:recommended',
'standard',
'plugin:node/recommended',
'plugin:promise/recommended',
'plugin:security/recommended',
'plugin:eslint-comments/recommended',
'plugin:array-func/all',
'plugin:sonarjs/recommended',
'plugin:@typescript-eslint/recommended',
'plugin:prettier/recommended'
],
plugins: [
'promise',
'security',
'eslint-comments',
'array-func',
'sonarjs',
'@typescript-eslint/eslint-plugin'
],
rules: {
'@typescript-eslint/consistent-type-assertions': 'off',
'@typescript-eslint/no-angle-bracket-type-assertion': 'off',
'no-console': ['error'],
'no-nested-ternary': 'error',
'require-await': 'error',
'node/no-unsupported-features/es-syntax': 'off',
'node/no-missing-import': 'off',
'node/no-unpublished-import': 'off',
'node/no-extraneous-import': 'off'
}
}