File: .eslintrc

package info (click to toggle)
node-es6-promise 4.2.8-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 480 kB
  • sloc: javascript: 1,960; makefile: 9
file content (31 lines) | stat: -rw-r--r-- 886 bytes parent folder | download | duplicates (4)
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
{
	"extends": "ember",

	"parser": "babel-eslint",

	"ecmaFeatures": {
		modules: true,
		blockBindings: true,
		arrowFunctions: true,
		objectLiteralShorthandMethods: true,
		objectLiteralShorthandProperties: true,
		templateStrings: true
	},

	"rules": {
		"indent":                 [ 2, "tab", { "SwitchCase": 1 } ],
		"object-shorthand":       [ 2, "always" ],
		"prefer-const":           0,
		"comma-dangle":           0,
		"spaced-comment":         1,
		"object-curly-spacing":   [2, "always"],
		"arrow-spacing":          [ 1, { before: true, after: true } ],
		"array-bracket-spacing":  [ 2, "always" ],
		"no-restricted-syntax":   0,
		"no-warning-comments":    [ 0, { "terms": [ "todo", "fixme", "xxx" ], "location": "start" } ],
		"no-ternary":             0,
		"no-nested-ternary":      2,
		"brace-style":            [ 2, "stroustrup" ],
		"no-else-return":         0
	}
}