@opentermsarchive/engine 0.17.0 → 0.17.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.eslintrc.yaml ADDED
@@ -0,0 +1,116 @@
1
+ extends:
2
+ - airbnb-base
3
+ parserOptions:
4
+ ecmaVersion: 2022
5
+ env:
6
+ node: true
7
+ mocha: true
8
+ es6: true
9
+ plugins:
10
+ - chai-friendly
11
+ - import
12
+ - json-format
13
+ rules:
14
+ arrow-parens:
15
+ - error
16
+ - as-needed
17
+ array-bracket-spacing:
18
+ - error
19
+ - always
20
+ - objectsInArrays: false
21
+ arraysInArrays: false
22
+ singleValue: false
23
+ eqeqeq: 0
24
+ chai-friendly/no-unused-expressions: 2
25
+ comma-dangle:
26
+ - error
27
+ - always-multiline
28
+ consistent-return: 0
29
+ function-paren-newline:
30
+ - error
31
+ - multiline
32
+ implicit-arrow-linebreak:
33
+ - 'off'
34
+ import/extensions:
35
+ - error
36
+ - always
37
+ - ignorePackages: true
38
+ import/prefer-default-export: 0
39
+ import/order:
40
+ - error
41
+ - newlines-between: always
42
+ alphabetize:
43
+ order: asc
44
+ caseInsensitive: true
45
+ import/namespace:
46
+ - error
47
+ - allowComputed: true
48
+ indent:
49
+ - error
50
+ - 2
51
+ max-len: 0
52
+ object-curly-newline:
53
+ - error
54
+ - multiline: true
55
+ no-console: 0
56
+ no-continue: 0
57
+ no-param-reassign: 0
58
+ no-plusplus: 0
59
+ no-restricted-syntax: 0
60
+ no-shadow: 0
61
+ no-tabs: 0
62
+ no-underscore-dangle: 0
63
+ no-unused-expressions: 0
64
+ no-unused-vars:
65
+ - error
66
+ - argsIgnorePattern: next
67
+ no-use-before-define: 0
68
+ padding-line-between-statements:
69
+ - error
70
+ - blankLine: always
71
+ prev: '*'
72
+ next: return
73
+ - blankLine: always
74
+ prev:
75
+ - const
76
+ - let
77
+ - var
78
+ next: '*'
79
+ - blankLine: any
80
+ prev:
81
+ - const
82
+ - let
83
+ - var
84
+ next:
85
+ - const
86
+ - let
87
+ - var
88
+ multiline-comment-style:
89
+ - error
90
+ - separate-lines
91
+ eol-last:
92
+ - error
93
+ - always
94
+ new-cap:
95
+ - error
96
+ - properties: false
97
+
98
+ overrides:
99
+ - files:
100
+ - src/**/*test.js
101
+ - scripts/declarations/validate/*.js
102
+ rules:
103
+ func-names: 0
104
+ - files:
105
+ - scripts/**/*.js
106
+ - bin/**/*.js
107
+ rules:
108
+ func-names: 0
109
+ import/no-extraneous-dependencies: 0
110
+ - files:
111
+ - src/**/*[iI]nterface.js
112
+ rules:
113
+ no-unused-vars: 0
114
+ require-yield: 0
115
+ class-methods-use-this: 0
116
+ no-empty-function: 0