Skip to content

Commit 6056d36

Browse files
authored
Merge pull request #196 from Garlic-Team/dev
chore(7.1.0): πŸŽ‰
2 parents 5f7b213 + 10c8b82 commit 6056d36

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1627
-838
lines changed

β€Ž.eslintrc.jsonβ€Ž

Lines changed: 210 additions & 128 deletions
Original file line numberDiff line numberDiff line change
@@ -1,129 +1,211 @@
11
{
2-
"env": {
3-
"commonjs": true,
4-
"es2021": true,
5-
"node": true
6-
},
7-
"extends": ["eslint:recommended","prettier"],
8-
"parserOptions": {
9-
"ecmaVersion": 12
10-
},
11-
"rules": {
12-
"no-unused-vars":"warn",
13-
"no-case-declarations":"warn",
14-
"accessor-pairs": "warn",
15-
"array-callback-return": "error",
16-
"consistent-return": 0,
17-
"curly": ["error", "multi-line", "consistent"],
18-
"dot-location": ["error", "property"],
19-
"dot-notation": "error",
20-
"eqeqeq": "error",
21-
"no-empty-function": "error",
22-
"no-floating-decimal": "error",
23-
"no-implied-eval": "error",
24-
"no-invalid-this": "error",
25-
"no-lone-blocks": "error",
26-
"no-multi-spaces": "error",
27-
"no-new-func": "error",
28-
"no-new-wrappers": "error",
29-
"no-new": 0,
30-
"no-octal-escape": "error",
31-
"no-return-assign": "error",
32-
"no-return-await": "error",
33-
"no-self-compare": "error",
34-
"no-sequences": "error",
35-
"no-throw-literal": "error",
36-
"no-unmodified-loop-condition": "error",
37-
"no-unused-expressions": 0,
38-
"no-useless-call": "error",
39-
"no-useless-concat": "error",
40-
"no-useless-escape": "error",
41-
"no-useless-return": "error",
42-
"no-void": "error",
43-
"no-warning-comments": "warn",
44-
"prefer-promise-reject-errors": "error",
45-
"require-await": "warn",
46-
"wrap-iife": "error",
47-
"yoda": "error",
48-
49-
"no-label-var": "error",
50-
"no-shadow": "error",
51-
"no-undef-init": "error",
52-
53-
"callback-return": "error",
54-
"getter-return": "off",
55-
"handle-callback-err": "error",
56-
"no-mixed-requires": "error",
57-
"no-new-require": "error",
58-
"no-path-concat": "error",
59-
60-
"array-bracket-spacing": "error",
61-
"block-spacing": "error",
62-
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
63-
"capitalized-comments": ["error", "always", { "ignoreConsecutiveComments": true }],
64-
"comma-dangle": ["error", "always-multiline"],
65-
"comma-spacing": 0,
66-
"comma-style": "error",
67-
"computed-property-spacing": "error",
68-
"consistent-this": ["error", "$this"],
69-
"eol-last": "error",
70-
"func-names": 0,
71-
"func-name-matching": "error",
72-
"func-style": ["error", "declaration", { "allowArrowFunctions": true }],
73-
"key-spacing": "error",
74-
"keyword-spacing": "error",
75-
"max-depth": 0,
76-
"max-len": ["error", 400, 2],
77-
"max-nested-callbacks": ["error", { "max": 4 }],
78-
"max-statements-per-line": ["error", { "max": 2 }],
79-
"new-cap": "off",
80-
"newline-per-chained-call": ["error", { "ignoreChainWithDepth": 3 }],
81-
"no-array-constructor": "error",
82-
"no-inline-comments": "error",
83-
"no-lonely-if": "error",
84-
"no-multiple-empty-lines": ["error", { "max": 2, "maxEOF": 1, "maxBOF": 0 }],
85-
"no-new-object": "error",
86-
"no-spaced-func": "error",
87-
"no-trailing-spaces": "error",
88-
"no-unneeded-ternary": "error",
89-
"no-whitespace-before-property": "error",
90-
"nonblock-statement-body-position": "error",
91-
"object-curly-spacing": ["error", "always"],
92-
"operator-assignment": "error",
93-
"padded-blocks": ["error", "never"],
94-
"quote-props": ["error", "as-needed"],
95-
"quotes": ["error", "single", { "avoidEscape": true, "allowTemplateLiterals": true }],
96-
"semi-spacing": "error",
97-
"semi": "error",
98-
"space-before-blocks": "error",
99-
"space-before-function-paren": [
100-
"error",
101-
{
102-
"anonymous": "never",
103-
"named": "never",
104-
"asyncArrow": "always"
105-
}
106-
],
107-
"space-in-parens": "error",
108-
"space-infix-ops": "error",
109-
"space-unary-ops": "error",
110-
"spaced-comment": "error",
111-
"template-tag-spacing": "error",
112-
"unicode-bom": "error",
113-
114-
"arrow-body-style": "error",
115-
"arrow-parens": ["error", "as-needed"],
116-
"arrow-spacing": "error",
117-
"no-duplicate-imports": "error",
118-
"no-useless-computed-key": "error",
119-
"no-useless-constructor": "error",
120-
"prefer-arrow-callback": "error",
121-
"prefer-numeric-literals": "error",
122-
"prefer-rest-params": "error",
123-
"prefer-spread": "error",
124-
"prefer-template": "error",
125-
"rest-spread-spacing": "error",
126-
"template-curly-spacing": "error",
127-
"yield-star-spacing": "error"
128-
}
129-
}
2+
"env": {
3+
"commonjs": true,
4+
"es2021": true,
5+
"node": true
6+
},
7+
"extends": [
8+
"eslint:recommended",
9+
"prettier"
10+
],
11+
"parserOptions": {
12+
"ecmaVersion": 12
13+
},
14+
"rules": {
15+
"no-unused-vars": "warn",
16+
"no-case-declarations": "warn",
17+
"accessor-pairs": "warn",
18+
"array-callback-return": "error",
19+
"consistent-return": 0,
20+
"curly": [
21+
"error",
22+
"multi-line",
23+
"consistent"
24+
],
25+
"dot-location": [
26+
"error",
27+
"property"
28+
],
29+
"dot-notation": "error",
30+
"eqeqeq": "error",
31+
"no-empty-function": "error",
32+
"no-floating-decimal": "error",
33+
"no-implied-eval": "error",
34+
"no-invalid-this": "error",
35+
"no-lone-blocks": "error",
36+
"no-multi-spaces": "error",
37+
"no-new-func": "error",
38+
"no-new-wrappers": "error",
39+
"no-new": 0,
40+
"no-octal-escape": "error",
41+
"no-return-assign": "error",
42+
"no-return-await": "error",
43+
"no-self-compare": "error",
44+
"no-sequences": "error",
45+
"no-throw-literal": "error",
46+
"no-unmodified-loop-condition": "error",
47+
"no-unused-expressions": 0,
48+
"no-useless-call": "error",
49+
"no-useless-concat": "error",
50+
"no-useless-escape": "error",
51+
"no-useless-return": "error",
52+
"no-void": "error",
53+
"no-warning-comments": "warn",
54+
"prefer-promise-reject-errors": "error",
55+
"require-await": "warn",
56+
"wrap-iife": "error",
57+
"yoda": "error",
58+
"no-label-var": "error",
59+
"prefer-const": [
60+
"error",
61+
{
62+
"destructuring": "any",
63+
"ignoreReadBeforeAssign": false
64+
}
65+
],
66+
"no-shadow": "error",
67+
"no-undef-init": "error",
68+
"callback-return": "error",
69+
"getter-return": "off",
70+
"handle-callback-err": "error",
71+
"no-mixed-requires": "error",
72+
"no-new-require": "error",
73+
"no-path-concat": "error",
74+
"array-bracket-spacing": "error",
75+
"block-spacing": "error",
76+
"brace-style": [
77+
"error",
78+
"1tbs",
79+
{
80+
"allowSingleLine": true
81+
}
82+
],
83+
"capitalized-comments": [
84+
"error",
85+
"always",
86+
{
87+
"ignoreConsecutiveComments": true
88+
}
89+
],
90+
"comma-dangle": [
91+
"error",
92+
"always-multiline"
93+
],
94+
"comma-spacing": 0,
95+
"comma-style": "error",
96+
"computed-property-spacing": "error",
97+
"consistent-this": [
98+
"error",
99+
"$this"
100+
],
101+
"eol-last": "error",
102+
"func-names": 0,
103+
"func-name-matching": "error",
104+
"func-style": [
105+
"error",
106+
"declaration",
107+
{
108+
"allowArrowFunctions": true
109+
}
110+
],
111+
"key-spacing": "error",
112+
"keyword-spacing": "error",
113+
"max-depth": 0,
114+
"max-len": [
115+
"error",
116+
400,
117+
2
118+
],
119+
"max-nested-callbacks": [
120+
"error",
121+
{
122+
"max": 4
123+
}
124+
],
125+
"max-statements-per-line": [
126+
"error",
127+
{
128+
"max": 2
129+
}
130+
],
131+
"new-cap": "off",
132+
"newline-per-chained-call": [
133+
"error",
134+
{
135+
"ignoreChainWithDepth": 3
136+
}
137+
],
138+
"no-array-constructor": "error",
139+
"no-inline-comments": "error",
140+
"no-lonely-if": "error",
141+
"no-multiple-empty-lines": [
142+
"error",
143+
{
144+
"max": 2,
145+
"maxEOF": 1,
146+
"maxBOF": 0
147+
}
148+
],
149+
"no-new-object": "error",
150+
"no-spaced-func": "error",
151+
"no-trailing-spaces": "error",
152+
"no-unneeded-ternary": "error",
153+
"no-whitespace-before-property": "error",
154+
"nonblock-statement-body-position": "error",
155+
"object-curly-spacing": [
156+
"error",
157+
"always"
158+
],
159+
"operator-assignment": "error",
160+
"padded-blocks": [
161+
"error",
162+
"never"
163+
],
164+
"quote-props": [
165+
"error",
166+
"as-needed"
167+
],
168+
"quotes": [
169+
"error",
170+
"single",
171+
{
172+
"avoidEscape": true,
173+
"allowTemplateLiterals": true
174+
}
175+
],
176+
"semi-spacing": "error",
177+
"semi": "error",
178+
"space-before-blocks": "error",
179+
"space-before-function-paren": [
180+
"error",
181+
{
182+
"anonymous": "never",
183+
"named": "never",
184+
"asyncArrow": "always"
185+
}
186+
],
187+
"space-in-parens": "error",
188+
"space-infix-ops": "error",
189+
"space-unary-ops": "error",
190+
"spaced-comment": "error",
191+
"template-tag-spacing": "error",
192+
"unicode-bom": "error",
193+
"arrow-body-style": "error",
194+
"arrow-parens": [
195+
"error",
196+
"as-needed"
197+
],
198+
"arrow-spacing": "error",
199+
"no-duplicate-imports": "error",
200+
"no-useless-computed-key": "error",
201+
"no-useless-constructor": "error",
202+
"prefer-arrow-callback": "error",
203+
"prefer-numeric-literals": "error",
204+
"prefer-rest-params": "error",
205+
"prefer-spread": "error",
206+
"prefer-template": "error",
207+
"rest-spread-spacing": "error",
208+
"template-curly-spacing": "error",
209+
"yield-star-spacing": "error"
210+
}
211+
}

β€Ž.github/labels.ymlβ€Ž

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,6 @@
3939
- name: 's: approved'
4040
color: '49eb34'
4141
- name: 's: awaiting review'
42-
color: 'ed6432'
42+
color: 'ed6432'
43+
- name: 's: has PR'
44+
color: 'f9d0c4'

β€ŽREADME.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ yarn add gcommands@dev
3232
```
3333

3434
## 🐒 | Guide & Documentation
35-
To help you learn more with GCommands we have a [guide](https://gcommands.js.org/guide/) and [documentation](https://gcommands.js.org/docs/) for you.
36-
If you are still having trouble, you can join our [Garlic Team](https://discord.gg/AjKJSBbGm2) discord server.
35+
To help you learn more about GCommands we have a [guide](https://gcommands.js.org/guide/) and [documentation](https://gcommands.js.org/docs/) for you.
36+
If you're still in trouble, you can join our [Garlic Team](https://discord.gg/AjKJSBbGm2) discord server.
3737

3838
## πŸ‘€ | Features
3939

0 commit comments

Comments
Β (0)