kareem 2.6.2 → 2.6.3
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/package.json +1 -1
- package/.eslintrc.json +0 -131
- package/.github/workflows/test.yml +0 -47
package/package.json
CHANGED
package/.eslintrc.json
DELETED
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": [
|
|
3
|
-
"eslint:recommended"
|
|
4
|
-
],
|
|
5
|
-
"ignorePatterns": [
|
|
6
|
-
"docs",
|
|
7
|
-
"tools",
|
|
8
|
-
"dist",
|
|
9
|
-
"website.js",
|
|
10
|
-
"test/files/*",
|
|
11
|
-
"benchmarks"
|
|
12
|
-
],
|
|
13
|
-
"overrides": [],
|
|
14
|
-
"plugins": [],
|
|
15
|
-
"parserOptions": {
|
|
16
|
-
"ecmaVersion": 2020
|
|
17
|
-
},
|
|
18
|
-
"env": {
|
|
19
|
-
"node": true,
|
|
20
|
-
"es6": true
|
|
21
|
-
},
|
|
22
|
-
"rules": {
|
|
23
|
-
"no-unused-vars": ["error", { "argsIgnorePattern": "^_" } ],
|
|
24
|
-
"comma-style": "error",
|
|
25
|
-
"indent": [
|
|
26
|
-
"error",
|
|
27
|
-
2,
|
|
28
|
-
{
|
|
29
|
-
"SwitchCase": 1,
|
|
30
|
-
"VariableDeclarator": 2
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
"keyword-spacing": "error",
|
|
34
|
-
"no-whitespace-before-property": "error",
|
|
35
|
-
"no-buffer-constructor": "warn",
|
|
36
|
-
"no-console": "off",
|
|
37
|
-
"no-constant-condition": "off",
|
|
38
|
-
"no-multi-spaces": "error",
|
|
39
|
-
"func-call-spacing": "error",
|
|
40
|
-
"no-trailing-spaces": "error",
|
|
41
|
-
"no-undef": "error",
|
|
42
|
-
"no-unneeded-ternary": "error",
|
|
43
|
-
"no-const-assign": "error",
|
|
44
|
-
"no-useless-rename": "error",
|
|
45
|
-
"no-dupe-keys": "error",
|
|
46
|
-
"space-in-parens": [
|
|
47
|
-
"error",
|
|
48
|
-
"never"
|
|
49
|
-
],
|
|
50
|
-
"spaced-comment": [
|
|
51
|
-
"error",
|
|
52
|
-
"always",
|
|
53
|
-
{
|
|
54
|
-
"block": {
|
|
55
|
-
"markers": [
|
|
56
|
-
"!"
|
|
57
|
-
],
|
|
58
|
-
"balanced": true
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
],
|
|
62
|
-
"key-spacing": [
|
|
63
|
-
"error",
|
|
64
|
-
{
|
|
65
|
-
"beforeColon": false,
|
|
66
|
-
"afterColon": true
|
|
67
|
-
}
|
|
68
|
-
],
|
|
69
|
-
"comma-spacing": [
|
|
70
|
-
"error",
|
|
71
|
-
{
|
|
72
|
-
"before": false,
|
|
73
|
-
"after": true
|
|
74
|
-
}
|
|
75
|
-
],
|
|
76
|
-
"array-bracket-spacing": 1,
|
|
77
|
-
"arrow-spacing": [
|
|
78
|
-
"error",
|
|
79
|
-
{
|
|
80
|
-
"before": true,
|
|
81
|
-
"after": true
|
|
82
|
-
}
|
|
83
|
-
],
|
|
84
|
-
"object-curly-spacing": [
|
|
85
|
-
"error",
|
|
86
|
-
"always"
|
|
87
|
-
],
|
|
88
|
-
"comma-dangle": [
|
|
89
|
-
"error",
|
|
90
|
-
"never"
|
|
91
|
-
],
|
|
92
|
-
"no-unreachable": "error",
|
|
93
|
-
"quotes": [
|
|
94
|
-
"error",
|
|
95
|
-
"single"
|
|
96
|
-
],
|
|
97
|
-
"quote-props": [
|
|
98
|
-
"error",
|
|
99
|
-
"as-needed"
|
|
100
|
-
],
|
|
101
|
-
"semi": "error",
|
|
102
|
-
"no-extra-semi": "error",
|
|
103
|
-
"semi-spacing": "error",
|
|
104
|
-
"no-spaced-func": "error",
|
|
105
|
-
"no-throw-literal": "error",
|
|
106
|
-
"space-before-blocks": "error",
|
|
107
|
-
"space-before-function-paren": [
|
|
108
|
-
"error",
|
|
109
|
-
"never"
|
|
110
|
-
],
|
|
111
|
-
"space-infix-ops": "error",
|
|
112
|
-
"space-unary-ops": "error",
|
|
113
|
-
"no-var": "warn",
|
|
114
|
-
"prefer-const": "warn",
|
|
115
|
-
"strict": [
|
|
116
|
-
"error",
|
|
117
|
-
"global"
|
|
118
|
-
],
|
|
119
|
-
"no-restricted-globals": [
|
|
120
|
-
"error",
|
|
121
|
-
{
|
|
122
|
-
"name": "context",
|
|
123
|
-
"message": "Don't use Mocha's global context"
|
|
124
|
-
}
|
|
125
|
-
],
|
|
126
|
-
"no-prototype-builtins": "off",
|
|
127
|
-
"no-empty": "off",
|
|
128
|
-
"eol-last": "warn",
|
|
129
|
-
"no-multiple-empty-lines": ["warn", { "max": 2 }]
|
|
130
|
-
}
|
|
131
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
name: Test
|
|
2
|
-
on:
|
|
3
|
-
pull_request:
|
|
4
|
-
push:
|
|
5
|
-
permissions:
|
|
6
|
-
contents: read
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
test:
|
|
10
|
-
runs-on: ${{ matrix.os }}
|
|
11
|
-
strategy:
|
|
12
|
-
fail-fast: false
|
|
13
|
-
matrix:
|
|
14
|
-
node: [12, 14, 16, 18]
|
|
15
|
-
os: [ubuntu-20.04]
|
|
16
|
-
name: Node ${{ matrix.node }}
|
|
17
|
-
steps:
|
|
18
|
-
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3
|
|
19
|
-
|
|
20
|
-
- name: Setup node
|
|
21
|
-
uses: actions/setup-node@5b52f097d36d4b0b2f94ed6de710023fbb8b2236 # v3.1.0
|
|
22
|
-
with:
|
|
23
|
-
node-version: ${{ matrix.node }}
|
|
24
|
-
|
|
25
|
-
- run: npm install
|
|
26
|
-
|
|
27
|
-
- run: npm run test-coverage
|
|
28
|
-
|
|
29
|
-
lint:
|
|
30
|
-
runs-on: ${{ matrix.os }}
|
|
31
|
-
strategy:
|
|
32
|
-
fail-fast: false
|
|
33
|
-
matrix:
|
|
34
|
-
node: [18]
|
|
35
|
-
os: [ubuntu-20.04]
|
|
36
|
-
name: Lint
|
|
37
|
-
steps:
|
|
38
|
-
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3
|
|
39
|
-
|
|
40
|
-
- name: Setup node
|
|
41
|
-
uses: actions/setup-node@5b52f097d36d4b0b2f94ed6de710023fbb8b2236 # v3.1.0
|
|
42
|
-
with:
|
|
43
|
-
node-version: ${{ matrix.node }}
|
|
44
|
-
|
|
45
|
-
- run: npm install
|
|
46
|
-
|
|
47
|
-
- run: npm run lint
|