This repository has been archived by the owner on Sep 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
recommended.coffee
58 lines (55 loc) · 2.7 KB
/
recommended.coffee
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
52
53
54
55
56
57
58
require('../rules').registerCoffeeLintRule require '../rules/no_spaces'
module.exports =
extends: require.resolve('./base'),
rules:
'@fellow/coffee/indentation': ['error', value: 4 ]
'@fellow/coffee/no-tabs': ['warn', {}]
'@fellow/coffee/no-spaces': ['off', {}]
'@fellow/coffee/coffeescript-error': ['error', {}]
'@fellow/coffee/arrow-spacing': ['warn',{}]
'@fellow/coffee/camel-case-classes': ['warn', {}]
'@fellow/coffee/duplicate-key': ['error', {}]
'@fellow/coffee/ensure-comprehensions': ['error', {}]
'@fellow/coffee/eol-last': ['warn', {}]
'@fellow/coffee/braces-spacing': ['warn',
spaces: 1,
empty_object_spaces: 0
]
'@fellow/coffee/colon-assignment-spacing': ['warn',
spacing: { left: 0, right: 1 }
]
'@fellow/coffee/cyclomatic-complexity': ['error', value: 10 ]
'@fellow/coffee/line-endings': ['error', value: 'unix' ]
'@fellow/coffee/max-line-length': ['warn',
value: 150,
limitComments: false
]
'@fellow/coffee/prefer-english-operator': ['warn', {
ops: ['and', 'or', 'not']
}]
'@fellow/coffee/missing-fat-arrows': ['warn', is_strict: true ]
'@fellow/coffee/newlines-after-classes': ['off', value: 2 ]
'@fellow/coffee/no-debugger': ['warn', console: true ]
'@fellow/coffee/no-empty-functions': ['warn', {}]
'@fellow/coffee/no-empty-param-list': ['off', {}]
'@fellow/coffee/no-implicit-braces': ['off', warn: true ]
'@fellow/coffee/no-implicit-parens': ['off', warn: true ]
'@fellow/coffee/no-interpolation-in-single-quotes': ['error', {}]
'@fellow/coffee/no-nested-string-interpolation': ['error', {}]
'@fellow/coffee/no-trailing-whitespace': ['error',
allowed_in_comments: false,
allowed_in_empty_lines: false
]
'@fellow/coffee/no-this': ['error', {}]
'@fellow/coffee/no-backticks': ['warn', {}]
'@fellow/coffee/no-plusplus': ['off', {}]
'@fellow/coffee/no-stand-alone-at': ['off', {}]
'@fellow/coffee/no-private-function-fat-arrows': ['warn', {}]
'@fellow/coffee/no-throwing-strings': ['error', {}]
'@fellow/coffee/no-trailing-semicolons': ['error', {}]
'@fellow/coffee/no-unnecessary-fat-arrows': ['warn', {}]
'@fellow/coffee/space-operators': ['off', {}]
'@fellow/coffee/spacing-after-comma': ['warn', {}]
'@fellow/coffee/transform-messes-up-line-numbers': ['error', {}]
'@fellow/coffee/empty-constructor-needs-parens': ['off', {}]
'@fellow/coffee/non-empty-constructor-needs-parens': ['off', {}]