Skip to content

Commit 33c1b67

Browse files
committed
two
0 parents  commit 33c1b67

File tree

659 files changed

+161725
-0
lines changed

Some content is hidden

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

659 files changed

+161725
-0
lines changed

.eslintrc.js

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
module.exports = {
2+
parser: '@typescript-eslint/parser', // Specifies the ESLint parser
3+
parserOptions: {
4+
ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features
5+
sourceType: 'module', // Allows for the use of imports
6+
ecmaFeatures: {
7+
jsx: true, // Allows for the parsing of JSX
8+
},
9+
},
10+
ignorePatterns: [
11+
'node_modules/*',
12+
'**/node_modules/*',
13+
'.github/*',
14+
'.browser_modules/*',
15+
'docs/*',
16+
'scripts/*',
17+
'electron-app/lib/*',
18+
'electron-app/src-gen/*',
19+
'electron-app/gen-webpack*.js',
20+
'!electron-app/webpack.config.js',
21+
'electron-app/plugins/*',
22+
'arduino-ide-extension/src/node/cli-protocol',
23+
'**/lib/*',
24+
],
25+
settings: {
26+
react: {
27+
version: 'detect', // Tells eslint-plugin-react to automatically detect the version of React to use
28+
},
29+
},
30+
extends: [
31+
'plugin:@typescript-eslint/recommended', // Uses the recommended rules from the @typescript-eslint/eslint-plugin
32+
'plugin:react/recommended', // Uses the recommended rules from @eslint-plugin-react
33+
'plugin:react-hooks/recommended', // Uses recommended rules from react hooks
34+
'plugin:prettier/recommended',
35+
'prettier', // Uses eslint-config-prettier to disable ESLint rules from @typescript-eslint/eslint-plugin that would conflict with prettier
36+
],
37+
plugins: ['prettier', 'unused-imports'],
38+
rules: {
39+
'prefer-const': 'off',
40+
'@typescript-eslint/no-unused-expressions': 'off',
41+
'@typescript-eslint/no-namespace': 'off',
42+
'@typescript-eslint/no-var-requires': 'off',
43+
'@typescript-eslint/no-empty-function': 'warn',
44+
'@typescript-eslint/no-empty-interface': 'warn',
45+
'no-unused-vars': 'off',
46+
'unused-imports/no-unused-imports': 'error',
47+
'unused-imports/no-unused-vars': [
48+
'warn',
49+
{
50+
vars: 'all',
51+
varsIgnorePattern: '^_',
52+
args: 'after-used',
53+
argsIgnorePattern: '^_',
54+
},
55+
],
56+
'react/display-name': 'warn',
57+
eqeqeq: ['error', 'smart'],
58+
'guard-for-in': 'off',
59+
'id-blacklist': 'off',
60+
'id-match': 'off',
61+
'no-underscore-dangle': 'off',
62+
'no-unused-expressions': 'off',
63+
'no-var': 'error',
64+
radix: 'error',
65+
'prettier/prettier': 'warn',
66+
},
67+
};

.github/ISSUE_TEMPLATE/bug-report.yml

+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
name: Bug report
2+
description: Report a problem with the code or documentation in this repository.
3+
labels:
4+
- 'type: imperfection'
5+
body:
6+
- type: textarea
7+
id: description
8+
attributes:
9+
label: Describe the problem
10+
validations:
11+
required: true
12+
- type: textarea
13+
id: reproduce
14+
attributes:
15+
label: To reproduce
16+
description: Provide the specific set of steps we can follow to reproduce the problem.
17+
validations:
18+
required: true
19+
- type: textarea
20+
id: expected
21+
attributes:
22+
label: Expected behavior
23+
description: What would you expect to happen after following those instructions?
24+
validations:
25+
required: true
26+
- type: input
27+
id: project-version
28+
attributes:
29+
label: Arduino IDE version
30+
description: |
31+
Which version of the Arduino IDE are you using?
32+
See **Help > About Arduino IDE** in the Arduino IDE menus (**Arduino IDE > About Arduino IDE** on macOS).
33+
This should be the latest [nightly build](https://www.arduino.cc/en/software#nightly-builds).
34+
validations:
35+
required: true
36+
- type: dropdown
37+
id: os
38+
attributes:
39+
label: Operating system
40+
description: Which operating system(s) are you using on your computer?
41+
multiple: true
42+
options:
43+
- Windows
44+
- Linux
45+
- macOS
46+
- N/A
47+
validations:
48+
required: true
49+
- type: input
50+
id: os-version
51+
attributes:
52+
label: Operating system version
53+
description: Which version of the operating system are you using on your computer?
54+
validations:
55+
required: true
56+
- type: textarea
57+
id: additional
58+
attributes:
59+
label: Additional context
60+
description: Add any additional information here.
61+
validations:
62+
required: false
63+
- type: checkboxes
64+
id: checklist
65+
attributes:
66+
label: Issue checklist
67+
description: Please double-check that you have done each of the following things before submitting the issue.
68+
options:
69+
- label: I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=)
70+
required: true
71+
- label: I verified the problem still occurs when using the latest [nightly build](https://www.arduino.cc/en/software#nightly-builds)
72+
required: true
73+
- label: My report contains all necessary details
74+
required: true

.github/ISSUE_TEMPLATE/config.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Source:
2+
# https://github.com/arduino/tooling-project-assets/blob/main/issue-templates/template-choosers/general/config.yml
3+
blank_issues_enabled: false
4+
contact_links:
5+
- name: Learn about using this project
6+
url: https://github.com/arduino/arduino-ide#readme
7+
about: Detailed usage documentation is available here.
8+
- name: Support request
9+
url: https://forum.arduino.cc/
10+
about: We can help you out on the Arduino Forum!
11+
- name: Issue report guide
12+
url: https://github.com/arduino/arduino-ide/blob/main/docs/contributor-guide/issues.md#issue-report-guide
13+
about: Learn about submitting issue reports to this repository.
14+
- name: Contributor guide
15+
url: https://github.com/arduino/arduino-ide/blob/main/docs/CONTRIBUTING.md#contributor-guide
16+
about: Learn about contributing to this project.
17+
- name: Discuss development work on the project
18+
url: https://groups.google.com/a/arduino.cc/g/developers
19+
about: Arduino Developers Mailing List
+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
name: Feature request
2+
description: Suggest an enhancement to this project.
3+
labels:
4+
- 'type: enhancement'
5+
body:
6+
- type: textarea
7+
id: description
8+
attributes:
9+
label: Describe the request
10+
validations:
11+
required: true
12+
- type: textarea
13+
id: current
14+
attributes:
15+
label: Describe the current behavior
16+
description: |
17+
What is the current behavior of the Arduino IDE in relation to your request?
18+
How can we reproduce that behavior?
19+
validations:
20+
required: true
21+
- type: input
22+
id: project-version
23+
attributes:
24+
label: Arduino IDE version
25+
description: |
26+
Which version of the Arduino IDE are you using?
27+
See **Help > About Arduino IDE** in the Arduino IDE menus (**Arduino IDE > About Arduino IDE** on macOS).
28+
This should be the latest [nightly build](https://www.arduino.cc/en/software#nightly-builds).
29+
validations:
30+
required: true
31+
- type: dropdown
32+
id: os
33+
attributes:
34+
label: Operating system
35+
description: Which operating system(s) are you using on your computer?
36+
multiple: true
37+
options:
38+
- Windows
39+
- Linux
40+
- macOS
41+
- N/A
42+
validations:
43+
required: true
44+
- type: input
45+
id: os-version
46+
attributes:
47+
label: Operating system version
48+
description: Which version of the operating system are you using on your computer?
49+
validations:
50+
required: true
51+
- type: textarea
52+
id: additional
53+
attributes:
54+
label: Additional context
55+
description: Add any additional information here.
56+
validations:
57+
required: false
58+
- type: checkboxes
59+
id: checklist
60+
attributes:
61+
label: Issue checklist
62+
description: Please double-check that you have done each of the following things before submitting the issue.
63+
options:
64+
- label: I searched for previous requests in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=)
65+
required: true
66+
- label: I verified the feature was still missing when using the latest [nightly build](https://www.arduino.cc/en/software#nightly-builds)
67+
required: true
68+
- label: My request contains all necessary details
69+
required: true

.github/PULL_REQUEST_TEMPLATE.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
### Motivation
2+
3+
<!-- Why this pull request? -->
4+
5+
### Change description
6+
7+
<!-- What does your code do? -->
8+
9+
### Other information
10+
11+
<!-- Any additional information that could help the review process -->
12+
13+
### Reviewer checklist
14+
15+
- [ ] PR addresses a single concern.
16+
- [ ] The PR has no duplicates (please search among the [Pull Requests](https://github.com/arduino/arduino-ide/pulls) before creating one)
17+
- [ ] PR title and description are properly filled.
18+
- [ ] Docs have been added / updated (for bug fixes / features)

.github/dependabot.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# See: https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#about-the-dependabotyml-file
2+
version: 2
3+
4+
updates:
5+
# Configure check for outdated GitHub Actions actions in workflows.
6+
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/dependabot/README.md
7+
# See: https://docs.github.com/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
8+
- package-ecosystem: github-actions
9+
directory: / # Check the repository's workflows under /.github/workflows/
10+
assignees:
11+
- per1234
12+
schedule:
13+
interval: daily
14+
labels:
15+
- 'topic: infrastructure'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Used by the "Sync Labels" workflow
2+
# See: https://github.com/Financial-Times/github-label-sync#label-config-file
3+
4+
- name: 'topic: accessibility'
5+
color: '00ffff'
6+
description: Enabling the use of the software by everyone
7+
- name: 'topic: CLI'
8+
color: '00ffff'
9+
description: Related to Arduino CLI
10+
- name: 'topic: cloud'
11+
color: '00ffff'
12+
description: Related to Arduino Cloud and cloud sketches
13+
- name: 'topic: debugger'
14+
color: '00ffff'
15+
description: Related to the integrated debugger
16+
- name: 'topic: language server'
17+
color: '00ffff'
18+
description: Related to the Arduino Language Server
19+
- name: 'topic: serial monitor'
20+
color: '00ffff'
21+
description: Related to the Serial Monitor
22+
- name: 'topic: theia'
23+
color: '00ffff'
24+
description: Related to the Theia IDE framework
25+
- name: 'topic: theme'
26+
color: '00ffff'
27+
description: Related to GUI theming

0 commit comments

Comments
 (0)