-
Notifications
You must be signed in to change notification settings - Fork 27
/
.eslintrc
47 lines (36 loc) · 896 Bytes
/
.eslintrc
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
env:
browser: true
extends: 'eslint:recommended'
plugins:
# parse jsio import statements
- jsio
rules:
# two spaces with indents for switch/case
indent: [2, 2, {"SwitchCase": 1}]
# don't require strict mode
strict: 0
# allow console.log()
no-console: 0
# allow while(true)
no-constant-condition: 0
# unused arguments must be prefixed with an underscore
no-unused-vars: [2, {"vars": "all", "argsIgnorePattern": "^_"}]
# use single-quotes, unless the string has single-quotes inside it
# in which case double quotes are ok
quotes: [2, "single", "avoid-escape"]
# always require semi-colons
semi: [2, "always"]
# require unix line-endings
linebreak-style: [2, "unix"]
globals:
require: false
jsio: false
module: false
exports: true
Class: false
bind: false
merge: false
logger: false
logging: false
DEBUG: false
NATIVE: false