-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheslint.yaml
52 lines (43 loc) · 1.56 KB
/
eslint.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
##
## GemstoneJS -- Gemstone JavaScript Technology Stack
## Copyright (c) 2016-2019 Gemstone Project <http://gemstonejs.com>
## Licensed under Apache License 2.0 <https://spdx.org/licenses/Apache-2.0>
##
---
extends:
- eslint:recommended
- eslint-config-standard
parserOptions:
ecmaVersion: 8
sourceType: module
ecmaFeatures:
jsx: false
parser: babel-eslint
env:
browser: true
node: false
commonjs: true
worker: true
serviceworker: true
globals:
process: true
rules:
# modified rules
indent: [ "error", 4, { "SwitchCase": 1 } ]
linebreak-style: [ "error", "unix" ]
semi: [ "error", "never" ]
operator-linebreak: [ "error", "after", { "overrides": { "&&": "before", "||": "before", ":": "before" } } ]
brace-style: [ "error", "stroustrup", { "allowSingleLine": true } ]
quotes: [ "error", "double" ]
# disabled rules
no-multi-spaces: off
no-multiple-empty-lines: off
key-spacing: off
object-property-newline: off
curly: off
space-in-parens: off
array-bracket-spacing: off
quote-props: off
lines-between-class-members: off
no-void: off
computed-property-spacing: off