Skip to content

Commit f879a74

Browse files
committed
Merge branch 'release-0.5.0'
2 parents 51e8053 + ba2a89e commit f879a74

Some content is hidden

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

78 files changed

+6067
-2269
lines changed

.editorconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
trim_trailing_whitespace = true
7+
charset = utf-8
8+
indent_size = 4
9+
indent_style = space
10+
max_line_length = 120
11+
12+
[*.{svg,gif,png,jpg,jpeg}]
13+
insert_final_newline = false
14+
15+
[*.md]
16+
trim_trailing_whitespace = false

.eslintignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
vscode.proposed.d.ts
1+
vscode.proposed.d.ts
2+
out/*
3+
dist/*

.eslintrc.js

Lines changed: 0 additions & 22 deletions
This file was deleted.

.eslintrc.json

Lines changed: 173 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
{
2+
"env": {
3+
"es6": true,
4+
"node": true
5+
},
6+
"extends": [
7+
"eslint:recommended",
8+
"plugin:@typescript-eslint/recommended",
9+
"plugin:@typescript-eslint/recommended-requiring-type-checking",
10+
"plugin:import/errors",
11+
"plugin:import/warnings",
12+
"plugin:import/typescript",
13+
"prettier"
14+
],
15+
"parser": "@typescript-eslint/parser",
16+
"parserOptions": {
17+
"ecmaVersion": 2019,
18+
"sourceType": "module",
19+
"ecmaFeatures": {
20+
"impliedStrict": true
21+
},
22+
"project": "tsconfig.json"
23+
},
24+
"plugins": [
25+
"import",
26+
"@typescript-eslint",
27+
"prettier"
28+
],
29+
"root": true,
30+
"rules": {
31+
"@typescript-eslint/explicit-module-boundary-types": "off",
32+
"@typescript-eslint/indent": "off",
33+
"@typescript-eslint/no-empty-function": [
34+
"warn",
35+
{
36+
"allow": [
37+
"constructors"
38+
]
39+
}
40+
],
41+
"@typescript-eslint/no-empty-interface": "error",
42+
"@typescript-eslint/no-explicit-any": "off",
43+
"@typescript-eslint/no-floating-promises": "error",
44+
"@typescript-eslint/no-inferrable-types": [
45+
"warn",
46+
{
47+
"ignoreParameters": true,
48+
"ignoreProperties": true
49+
}
50+
],
51+
"@typescript-eslint/no-namespace": "off",
52+
"@typescript-eslint/no-non-null-assertion": "off",
53+
"@typescript-eslint/no-unused-vars": [
54+
"warn",
55+
{
56+
"args": "after-used",
57+
"argsIgnorePattern": "^_",
58+
"ignoreRestSiblings": true,
59+
"varsIgnorePattern": "^_$"
60+
}
61+
],
62+
"@typescript-eslint/no-use-before-define": "error",
63+
"@typescript-eslint/semi": "error",
64+
"@typescript-eslint/unbound-method": "off",
65+
"arrow-parens": [
66+
"error",
67+
"as-needed"
68+
],
69+
"brace-style": [
70+
"warn",
71+
"1tbs",
72+
{
73+
"allowSingleLine": true
74+
}
75+
],
76+
"comma-dangle": [
77+
"error",
78+
"only-multiline"
79+
],
80+
"complexity": "off",
81+
"curly": "error",
82+
"dot-notation": "error",
83+
"eqeqeq": [
84+
"error",
85+
"smart"
86+
],
87+
"eol-last": "error",
88+
"import/no-dynamic-require": "error",
89+
"import/no-default-export": "error",
90+
"import/no-duplicates": "error",
91+
"import/no-self-import": "error",
92+
"import/no-unresolved": [
93+
"warn",
94+
{
95+
"ignore": [
96+
"vscode"
97+
]
98+
}
99+
],
100+
"max-classes-per-file": [
101+
"error",
102+
1
103+
],
104+
"max-len": [
105+
"error",
106+
{
107+
"code": 120
108+
}
109+
],
110+
"no-bitwise": "error",
111+
"no-console": [
112+
"error",
113+
{
114+
"allow": [
115+
"info",
116+
"error"
117+
]
118+
}
119+
],
120+
"no-duplicate-imports": "error",
121+
"no-inner-declarations": "off",
122+
"no-invalid-this": "error",
123+
"no-trailing-spaces": "error",
124+
"no-var": "error",
125+
"prefer-arrow-callback": "error",
126+
"prefer-const": "error",
127+
"prefer-numeric-literals": "error",
128+
"prefer-object-spread": "error",
129+
"prefer-rest-params": "error",
130+
"prefer-spread": "error",
131+
"prefer-template": "error",
132+
"prettier/prettier": "error",
133+
"quotes": [
134+
"error",
135+
"single",
136+
{
137+
"avoidEscape": true
138+
}
139+
],
140+
"radix": "error",
141+
"semi": [
142+
"error",
143+
"always"
144+
],
145+
"semi-style": [
146+
"error",
147+
"last"
148+
],
149+
"spaced-comment": [
150+
"error",
151+
"always"
152+
],
153+
"space-in-parens": [
154+
"error",
155+
"never"
156+
],
157+
"sort-imports": [
158+
"error",
159+
{
160+
"ignoreCase": true,
161+
"ignoreDeclarationSort": true,
162+
"ignoreMemberSort": false,
163+
"memberSyntaxSortOrder": [
164+
"none",
165+
"all",
166+
"multiple",
167+
"single"
168+
]
169+
}
170+
],
171+
"yoda": "error"
172+
}
173+
}

.gitattributes

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
4+
* text=auto eol=lf
5+
6+
7+
# Force batch scripts to always use CRLF line endings so that if a repo is accessed
8+
# in Windows via a file share from Linux, the scripts will work.
9+
*.{cmd,[cC][mM][dD]} text eol=crlf
10+
*.{bat,[bB][aA][tT]} text eol=crlf
11+
12+
13+
# Force bash scripts to always use lf line endings so that if a repo is accessed
14+
# in Unix via a file share from Windows, the scripts will work.
15+
*.sh text eol=lf
16+

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ A clear and concise description of what the bug is.
1212

1313
**To Reproduce**
1414
Steps to reproduce the behavior:
15+
1516
1. Go to '...'
1617
2. Click on '....'
1718
3. Scroll down to '....'
@@ -24,9 +25,10 @@ A clear and concise description of what you expected to happen.
2425
If applicable, add screenshots to help explain your problem.
2526

2627
**Environment / Version:**
27-
- OS Version: [e.g. Windows 10, OS X, Linux]
28-
- VSCode Version:
29-
- Extension Version:
28+
29+
- OS Version: [e.g. Windows 10, OS X, Linux]
30+
- VSCode Version:
31+
- Extension Version:
3032

3133
**Additional context**
3234
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ assignees: ''
77

88
---
99

10-
**Suggest a Feature you'd like to see**
11-
10+
## Suggest a Feature you'd like to see
1211

1312
**Additional context**
1413
Add any other context or screenshots about the feature request here.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
## Thank you for contributing to VSCode-GCode-Syntax
2+
3+
### Please create an issue _before_ creating a pull request
4+
5+
### DESCRIPTION
6+
7+
<!-- PUT GENERAL DESRIPTION OF PULL REQUEST HERE -->
8+
9+
FIXES ISSUE # <!-- PUT ISSUE NUMBER HERE -->
10+
11+
### CHECKLIST
12+
13+
<!-- Please check off the following -->
14+
15+
- [ ] I have read the guidelines in the [CONTRIBUTING](https://github.com/appliedengdesign/vscode-gcode-syntax/blob/master/CONTRIBUTING.md) document
16+
- [ ] My changes follow the coding style, have been formated & linted
17+
- [ ] My changes have a descripted commit message
18+
- [ ] My commits are GPG signed
19+
20+
#### ADDITONAL NOTES
21+
22+
<!-- Put any additional notes in here -->

.github/stale.yml

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,41 @@
11
# Number of days of inactivity before an issue becomes stale
2-
daysUntilStale: 60
2+
daysUntilStale: 30
33

44
# Number of days of inactivity before a stale issue is closed
5-
daysUntilClose: 7
5+
daysUntilClose: 45
66

77
# Issues with these labels will never be considered stale
88
exemptLabels:
9-
- pinned
10-
- security
9+
- bug
10+
- enhancement
11+
12+
# Set to true to ignore issues in a project (defaults to false)
13+
exemptProjects: true
14+
15+
# Set to true to ignore issues in a milestone (defaults to false)
16+
exemptMilestones: true
17+
18+
# Set to true to ignore issues with an assignee (defaults to false)
19+
exemptAssignees: true
1120

1221
# Label to use when marking an issue as stale
1322
staleLabel: stale
1423

1524
# Comment to post when marking an issue as stale. Set to `false` to disable
1625
markComment: >
17-
This issue has been automatically marked as stale because it has not had
18-
recent activity. It will be closed if no further activity occurs. Thank you
19-
for your contributions.
26+
This pull request has been automatically marked as stale because it has not had
27+
activity in the last 30 day. It will be closed in 15 days if no further activity occurs.
28+
Please feel free to give a status update now, ping for review, or re-open when it's ready.
29+
30+
Thank you for your contributions!
2031
2132
# Comment to post when closing a stale issue. Set to `false` to disable
2233
closeComment: >
23-
This issue has been automatically closed because no further activity had
24-
occurred. Please open a new issue if the problem still exists. Thank you
25-
for your contributions.
34+
This pull request has been automatically closed because it has not had
35+
activity in the last 45 days. Please feel free to give a status update now,
36+
ping for review, or re-open when it's ready.
37+
38+
Thank you for your contributions!
39+
40+
# Limit to only `issues` or `pulls`
41+
only: issues

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
.eslintcache
12
node_modules
23
releases
34
*.vsix
45
out
6+
dist
57
images/*.ai

0 commit comments

Comments
 (0)