-
-
Notifications
You must be signed in to change notification settings - Fork 514
chore: update electron dependency + Node.js
#2199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 3 commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
122 changes: 61 additions & 61 deletions
.eslintrc.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,66 +1,66 @@ | ||
| module.exports = { | ||
| parser: '@typescript-eslint/parser', // Specifies the ESLint parser | ||
| parserOptions: { | ||
| ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features | ||
| sourceType: 'module', // Allows for the use of imports | ||
| ecmaFeatures: { | ||
| jsx: true, // Allows for the parsing of JSX | ||
| }, | ||
| parser: '@typescript-eslint/parser', // Specifies the ESLint parser | ||
| parserOptions: { | ||
| ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features | ||
| sourceType: 'module', // Allows for the use of imports | ||
| ecmaFeatures: { | ||
| jsx: true, // Allows for the parsing of JSX | ||
| }, | ||
| ignorePatterns: [ | ||
| 'node_modules/*', | ||
| '**/node_modules/*', | ||
| '.node_modules/*', | ||
| '.github/*', | ||
| '.browser_modules/*', | ||
| 'docs/*', | ||
| 'scripts/*', | ||
| 'electron-app/lib/*', | ||
| 'electron-app/src-gen/*', | ||
| 'electron-app/gen-webpack*.js', | ||
| '!electron-app/webpack.config.js', | ||
| 'plugins/*', | ||
| 'arduino-ide-extension/src/node/cli-protocol', | ||
| ], | ||
| settings: { | ||
| react: { | ||
| version: 'detect', // Tells eslint-plugin-react to automatically detect the version of React to use | ||
| }, | ||
| }, | ||
| ignorePatterns: [ | ||
| 'node_modules/*', | ||
| '**/node_modules/*', | ||
| '.node_modules/*', | ||
| '.github/*', | ||
| '.browser_modules/*', | ||
| 'docs/*', | ||
| 'scripts/*', | ||
| 'electron-app/lib/*', | ||
| 'electron-app/src-gen/*', | ||
| 'electron-app/gen-webpack*.js', | ||
| '!electron-app/webpack.config.js', | ||
| 'plugins/*', | ||
| 'arduino-ide-extension/src/node/cli-protocol', | ||
| ], | ||
| settings: { | ||
| react: { | ||
| version: 'detect', // Tells eslint-plugin-react to automatically detect the version of React to use | ||
| }, | ||
| extends: [ | ||
| 'plugin:@typescript-eslint/recommended', // Uses the recommended rules from the @typescript-eslint/eslint-plugin | ||
| 'plugin:react/recommended', // Uses the recommended rules from @eslint-plugin-react | ||
| 'plugin:react-hooks/recommended', // Uses recommended rules from react hooks | ||
| 'plugin:prettier/recommended', | ||
| 'prettier', // Uses eslint-config-prettier to disable ESLint rules from @typescript-eslint/eslint-plugin that would conflict with prettier | ||
| }, | ||
| extends: [ | ||
| 'plugin:@typescript-eslint/recommended', // Uses the recommended rules from the @typescript-eslint/eslint-plugin | ||
| 'plugin:react/recommended', // Uses the recommended rules from @eslint-plugin-react | ||
| 'plugin:react-hooks/recommended', // Uses recommended rules from react hooks | ||
| 'plugin:prettier/recommended', | ||
| 'prettier', // Uses eslint-config-prettier to disable ESLint rules from @typescript-eslint/eslint-plugin that would conflict with prettier | ||
| ], | ||
| plugins: ['prettier', 'unused-imports'], | ||
| rules: { | ||
| '@typescript-eslint/no-unused-expressions': 'off', | ||
| '@typescript-eslint/no-namespace': 'off', | ||
| '@typescript-eslint/no-var-requires': 'off', | ||
| '@typescript-eslint/no-empty-function': 'warn', | ||
| '@typescript-eslint/no-empty-interface': 'warn', | ||
| 'no-unused-vars': 'off', | ||
| 'unused-imports/no-unused-imports': 'error', | ||
| 'unused-imports/no-unused-vars': [ | ||
| 'warn', | ||
| { | ||
| vars: 'all', | ||
| varsIgnorePattern: '^_', | ||
| args: 'after-used', | ||
| argsIgnorePattern: '^_', | ||
| }, | ||
| ], | ||
| plugins: ['prettier', 'unused-imports'], | ||
| rules: { | ||
| '@typescript-eslint/no-unused-expressions': 'off', | ||
| '@typescript-eslint/no-namespace': 'off', | ||
| '@typescript-eslint/no-var-requires': 'off', | ||
| '@typescript-eslint/no-empty-function': 'warn', | ||
| '@typescript-eslint/no-empty-interface': 'warn', | ||
| 'no-unused-vars': 'off', | ||
| 'unused-imports/no-unused-imports': 'error', | ||
| 'unused-imports/no-unused-vars': [ | ||
| 'warn', | ||
| { | ||
| vars: 'all', | ||
| varsIgnorePattern: '^_', | ||
| args: 'after-used', | ||
| argsIgnorePattern: '^_', | ||
| }, | ||
| ], | ||
| 'react/display-name': 'warn', | ||
| eqeqeq: ['error', 'smart'], | ||
| 'guard-for-in': 'off', | ||
| 'id-blacklist': 'off', | ||
| 'id-match': 'off', | ||
| 'no-underscore-dangle': 'off', | ||
| 'no-unused-expressions': 'off', | ||
| 'no-var': 'error', | ||
| radix: 'error', | ||
| 'prettier/prettier': 'warn', | ||
| }, | ||
| 'react/display-name': 'warn', | ||
| eqeqeq: ['error', 'smart'], | ||
| 'guard-for-in': 'off', | ||
| 'id-blacklist': 'off', | ||
| 'id-match': 'off', | ||
| 'no-underscore-dangle': 'off', | ||
| 'no-unused-expressions': 'off', | ||
| 'no-var': 'error', | ||
| radix: 'error', | ||
| 'prettier/prettier': 'warn', | ||
| }, | ||
| }; |
2 changes: 1 addition & 1 deletion
.github/ISSUE_TEMPLATE/bug-report.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
.github/ISSUE_TEMPLATE/feature-request.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 7 additions & 4 deletions
.github/PULL_REQUEST_TEMPLATE.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,18 @@ | ||
| ### Motivation | ||
|
|
||
| <!-- Why this pull request? --> | ||
|
|
||
| ### Change description | ||
|
|
||
| <!-- What does your code do? --> | ||
|
|
||
| ### Other information | ||
|
|
||
| <!-- Any additional information that could help the review process --> | ||
|
|
||
| ### Reviewer checklist | ||
|
|
||
| * [ ] PR addresses a single concern. | ||
| * [ ] The PR has no duplicates (please search among the [Pull Requests](https://github.com/arduino/arduino-ide/pulls) before creating one) | ||
| * [ ] PR title and description are properly filled. | ||
| * [ ] Docs have been added / updated (for bug fixes / features) | ||
| - [ ] PR addresses a single concern. | ||
| - [ ] The PR has no duplicates (please search among the [Pull Requests](https://github.com/arduino/arduino-ide/pulls) before creating one) | ||
| - [ ] PR title and description are properly filled. | ||
| - [ ] Docs have been added / updated (for bug fixes / features) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,4 +12,4 @@ updates: | |
| schedule: | ||
| interval: daily | ||
| labels: | ||
| - "topic: infrastructure" | ||
| - 'topic: infrastructure' | ||
32 changes: 16 additions & 16 deletions
.github/label-configuration-files/labels.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,27 +1,27 @@ | ||
| # Used by the "Sync Labels" workflow | ||
| # See: https://github.com/Financial-Times/github-label-sync#label-config-file | ||
|
|
||
| - name: "topic: accessibility" | ||
| color: "00ffff" | ||
| - name: 'topic: accessibility' | ||
| color: '00ffff' | ||
| description: Enabling the use of the software by everyone | ||
| - name: "topic: CLI" | ||
| color: "00ffff" | ||
| - name: 'topic: CLI' | ||
| color: '00ffff' | ||
| description: Related to Arduino CLI | ||
| - name: "topic: cloud" | ||
| color: "00ffff" | ||
| - name: 'topic: cloud' | ||
| color: '00ffff' | ||
| description: Related to Arduino Cloud and cloud sketches | ||
| - name: "topic: debugger" | ||
| color: "00ffff" | ||
| - name: 'topic: debugger' | ||
| color: '00ffff' | ||
| description: Related to the integrated debugger | ||
| - name: "topic: language server" | ||
| color: "00ffff" | ||
| - name: 'topic: language server' | ||
| color: '00ffff' | ||
| description: Related to the Arduino Language Server | ||
| - name: "topic: serial monitor" | ||
| color: "00ffff" | ||
| - name: 'topic: serial monitor' | ||
| color: '00ffff' | ||
| description: Related to the Serial Monitor | ||
| - name: "topic: theia" | ||
| color: "00ffff" | ||
| - name: 'topic: theia' | ||
| color: '00ffff' | ||
| description: Related to the Theia IDE framework | ||
| - name: "topic: theme" | ||
| color: "00ffff" | ||
| - name: 'topic: theme' | ||
| color: '00ffff' | ||
| description: Related to GUI theming |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
.gitignore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
.prettierignore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| lib | ||
| dist | ||
| plugins | ||
| src-gen | ||
| i18n | ||
| gen-webpack* | ||
| .browser_modules | ||
| arduino-ide-extension/src/node/resources | ||
| cli-protocol | ||
| *color-theme.json | ||
| arduino-icons.json |
7 changes: 0 additions & 7 deletions
.prettierrc
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.