UNPKG

936 BYAMLView Raw
1env:
2 es6: true
3 node: true
4 mocha: true
5extends: 'eslint:recommended'
6parserOptions:
7 ecmaVersion: 8
8 sourceType:
9 - script
10rules:
11 indent:
12 - error
13 - 4
14 linebreak-style:
15 - error
16 - unix
17 quotes:
18 - error
19 - single
20 semi:
21 - error
22 - always
23 no-unused-vars:
24 - error
25 - args: none
26 no-console: warn
27 curly: error
28 eqeqeq: error
29 no-throw-literal: error
30 strict: error
31 no-var: error
32 dot-notation: error
33 no-tabs: error
34 no-trailing-spaces: error
35 # no-use-before-define: error
36 no-useless-call: error
37 no-with: error
38 operator-linebreak: error
39 require-jsdoc:
40 - error
41 - require:
42 ClassDeclaration: true
43 MethodDefinition: true
44 FunctionDeclaration: true
45 valid-jsdoc:
46 - error
47 - requireReturn: false
48 yoda: error