forked from github-tools/github
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yaml
36 lines (35 loc) · 903 Bytes
/
.eslintrc.yaml
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
---
extends:
- eslint:recommended
- google
parserOptions:
ecmaVersion: 6
sourceType: module
rules:
arrow-parens: [error, always]
eqeqeq: error
guard-for-in: error
indent: [error, 3, {SwitchCase: 1}]
max-len: [error, {code: 120, ignoreTrailingComments: true}]
no-bitwise: warn
no-extend-native: error
no-useless-constructor: off
no-var: error
padded-blocks: off
quotes: [error, single, {avoidEscape: true}]
require-jsdoc:
- error
- require:
FunctionDeclaration: false
ClassDeclaration: true
MethodDefinition: true
spaced-comment: error
valid-jsdoc: [error, {requireParamDescription: true}]
env:
es6: true
node: true
browser: true
# globals:
# require: false
# define: false
# escape: false