-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.yml
42 lines (39 loc) · 868 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
#############################
#############################
## JavaScript Linter rules ##
#############################
#############################
############
# Env Vars #
############
env:
jest: true
node: true
googleappsscript/googleappsscript: true
###############
# Parser vars #
###############
parser: '@typescript-eslint/parser'
parserOptions:
project: true
ecmaVersion: 2018
sourceType: module
overrides:
- files: ['tests/**/*.ts']
plugins: ['jest']
rules:
'@typescript-eslint/unbound-method': 'off'
'jest/unbound-method': 'error'
###########
# Plugins #
###########
extends:
- 'eslint:recommended'
- 'plugin:prettier/recommended'
- 'plugin:@typescript-eslint/recommended-type-checked'
- 'plugin:@typescript-eslint/stylistic-type-checked'
plugins:
- '@typescript-eslint'
- 'googleappsscript'
- 'jest'