-
-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
- Loading branch information
Showing
53 changed files
with
1,157 additions
and
1,002 deletions.
There are no files selected for viewing
This file contains 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', | ||
}, | ||
}; |
This file contains 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 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 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 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' |
This file contains 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 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 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 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 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 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 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 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 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 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 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
Oops, something went wrong.