forked from MatzElectronics/solo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
44 lines (42 loc) · 854 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
43
env:
browser: true
es6: true
extends:
- eslint:recommended
globals:
$: readonly
ace: readonly
bootbox: readonly
Blockly: writable
Chartist: readonly
colorPalette: writable
goog: readonly
Atomics: readonly
SharedArrayBuffer: readonly
baudrate: writable
profile: readonly
projectData: writable
page_text_label: readonly
toolbox_label: readonly
tooltip_text: readonly
utils: readonly
parserOptions:
ecmaVersion: 6
sourceType: script
rules:
# This really needs to be an error
no-prototype-builtins: warn
no-cond-assign: warn
no-extra-semi: warn
no-fallthrough: warn
no-mixed-spaces-and-tabs: warn
no-redeclare: warn
no-useless-escape: warn
no-undef: warn
no-unused-vars: warn
overrides:
- files: ["src/modules/**/*.js"]
extends:
- google
parserOptions:
sourceType: module