forked from yuku/old-textcomplete
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
49 lines (44 loc) · 1.08 KB
/
.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
48
49
---
root: true
env:
browser: true
commonjs: true
es6: true
extends: eslint:recommended
parser: babel-eslint
parserOptions:
sourceType: module
ecmaFeatures:
module: true
modules: true
rules:
brace-style: [2, "1tbs", { allowSingleLine: true }]
camelcase: 2
comma-dangle: [2, "always-multiline"]
comma-style: [2, "last"]
curly: 2
eqeqeq: [2, "allow-null"]
func-style: [2, "declaration"]
guard-for-in: 2
indent: [2, 2, {"SwitchCase": 1}]
keyword-spacing: 2
new-cap: 2
no-alert: 2
no-caller: 2
no-floating-decimal: 2
no-lonely-if: 2
no-new: 2
no-shadow: 2
no-unused-vars: [2, { vars: "local", args: "after-used", argsIgnorePattern: "^_" }]
no-use-before-define: 2
prefer-const: 2
prefer-template: 2
quotes: [2, "single", "avoid-escape"]
radix: 2
semi: 2
space-before-blocks: 2
space-before-function-paren: [2, {"anonymous": "always", "named": "never"}]
spaced-comment: [2, "always"]
strict: [2, "global"]
wrap-iife: [2, "inside"]
# vim:filetype=yaml