-
Notifications
You must be signed in to change notification settings - Fork 324
Updating package.json dependencies #3600
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 all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
ab6031d
Upgrading dependencies
vidorteg 726a1f7
changing from LF to CLRF
vidorteg 6838881
Addressing feedback
vidorteg 7ad1fc8
rverting changes
vidorteg 7c4e7b8
Adding changes again
vidorteg d54eb54
Reverting unintended format changes
vidorteg dc50004
redoing changes
vidorteg 90dd143
Removing unintended format changes
vidorteg 51680f5
Removing unintended change
vidorteg 6e0ad36
Remove Unintended
vidorteg 4c5d6a0
Removing unintended
vidorteg 97465c1
Redoing change
vidorteg 001f082
Skipping some format changes for now
vidorteg 51fa167
Addressing feedback
vidorteg 54c03d9
More feedback
vidorteg 151c558
Updating node version
vidorteg 4afbc02
Updating engines
vidorteg e242786
Addressing feedback
vidorteg 3066cd4
Merge branch 'main' into user/vidorteg/updateDependencies
vidorteg 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,135 @@ | ||
| import js from '@eslint/js'; | ||
| import typescript from '@typescript-eslint/eslint-plugin'; | ||
| import typescriptParser from '@typescript-eslint/parser'; | ||
| import jsdoc from 'eslint-plugin-jsdoc'; | ||
| import preferArrow from 'eslint-plugin-prefer-arrow'; | ||
| import importPlugin from 'eslint-plugin-import'; | ||
| import globals from 'globals'; | ||
|
|
||
| export default [ | ||
| js.configs.recommended, | ||
| { | ||
| files: ['**/*.{js,ts,tsx}'], | ||
| ignores: [ | ||
| '**/*.test*', | ||
| '**/test/**/*' | ||
| ], | ||
| languageOptions: { | ||
| parser: typescriptParser, | ||
| parserOptions: { | ||
| project: 'tsconfig.json', | ||
| sourceType: 'module' | ||
| }, | ||
| globals: { | ||
| ...globals.browser, | ||
| ...globals.node, | ||
| ...globals.es2022, | ||
| } | ||
| }, | ||
| plugins: { | ||
| '@typescript-eslint': typescript, | ||
| 'jsdoc': jsdoc, | ||
| 'prefer-arrow': preferArrow, | ||
| 'import': importPlugin | ||
| }, | ||
| rules: { | ||
| // Apply TypeScript recommended rules manually | ||
| ...typescript.configs.recommended.rules, | ||
| ...typescript.configs['recommended-requiring-type-checking'].rules, | ||
|
|
||
| // Let TypeScript handle undefined variables | ||
| 'no-undef': 'off', | ||
|
|
||
| // syntax preferences | ||
| 'quotes': ['error', 'single', {'avoidEscape': true, 'allowTemplateLiterals': true}], | ||
| 'semi': 'error', | ||
| 'no-extra-semi': 'error', | ||
| 'comma-style': ['error', 'last'], | ||
| 'wrap-iife': ['error', 'inside'], | ||
| 'spaced-comment': ['error', 'always', {'markers': ['*']}], | ||
| 'eqeqeq': ['error'], | ||
| 'accessor-pairs': ['error', {'getWithoutSet': false, 'setWithoutGet': false}], | ||
| 'curly': 'error', | ||
| 'new-parens': 'error', | ||
| 'func-call-spacing': 'error', | ||
| 'arrow-parens': ['error', 'as-needed'], | ||
| 'eol-last': 'error', | ||
|
|
||
| // anti-patterns | ||
| 'no-caller': 'error', | ||
| 'no-cond-assign': 'error', | ||
| 'no-console': ['error', {'allow': ['assert', 'context', 'error', 'timeStamp', 'time', 'timeEnd', 'warn']}], | ||
| 'no-debugger': 'error', | ||
| 'no-dupe-keys': 'error', | ||
| 'no-duplicate-case': 'error', | ||
| 'no-else-return': ['error', {'allowElseIf': false}], | ||
| 'no-empty-character-class': 'error', | ||
| 'no-global-assign': 'error', | ||
| 'no-implied-eval': 'error', | ||
| 'no-labels': 'error', | ||
| 'no-multi-str': 'error', | ||
| 'no-new-object': 'error', | ||
| 'no-octal-escape': 'error', | ||
| 'no-self-compare': 'error', | ||
| 'no-shadow-restricted-names': 'error', | ||
| 'no-unreachable': 'error', | ||
| 'no-unsafe-negation': 'error', | ||
| 'no-var': 'error', | ||
| 'no-with': 'error', | ||
| 'prefer-const': 'error', | ||
| 'radix': 'error', | ||
| 'valid-typeof': 'error', | ||
| 'no-return-assign': ['error', 'always'], | ||
|
|
||
| // es2015 features | ||
| 'require-yield': 'error', | ||
| 'template-curly-spacing': ['error', 'never'], | ||
|
|
||
| // spacing details | ||
| 'space-infix-ops': 'error', | ||
| 'space-in-parens': ['error', 'never'], | ||
| 'space-before-function-paren': ['error', {'anonymous': 'never', 'named': 'never', 'asyncArrow': 'always'}], | ||
| 'no-whitespace-before-property': 'error', | ||
| 'keyword-spacing': [ | ||
| 'error', { | ||
| 'overrides': { | ||
| 'if': {'after': true}, | ||
| 'else': {'after': true}, | ||
| 'for': {'after': true}, | ||
| 'while': {'after': true}, | ||
| 'do': {'after': true}, | ||
| 'switch': {'after': true}, | ||
| 'return': {'after': true} | ||
| } | ||
| } | ||
| ], | ||
| 'arrow-spacing': ['error', {'after': true, 'before': true}], | ||
|
|
||
| // file whitespace | ||
| 'no-multiple-empty-lines': ['error', {'max': 2}], | ||
| 'no-mixed-spaces-and-tabs': 'error', | ||
| 'no-trailing-spaces': 'error', | ||
| 'linebreak-style': ['error', process.platform === 'win32' ? 'windows' : 'unix'], | ||
|
|
||
| // Disabled rules | ||
| 'indent': 'off', | ||
| 'brace-style': 'off', | ||
| 'key-spacing': 'off', | ||
| 'quote-props': 'off', | ||
| 'no-implicit-globals': 'off', | ||
|
|
||
| // TypeScript rules (overrides to the recommended configs) | ||
| '@typescript-eslint/explicit-member-accessibility': 'off', | ||
| '@typescript-eslint/no-explicit-any': 'error', | ||
| '@typescript-eslint/restrict-template-expressions': 'off', | ||
| '@typescript-eslint/no-unsafe-call': 'off', | ||
|
|
||
| // skiping variables that start with underscore | ||
| 'no-unused-vars': 'off', // Turn off for TypeScript files | ||
| '@typescript-eslint/no-unused-vars': ['error', {'argsIgnorePattern': '^_', 'varsIgnorePattern': '^_'}], | ||
|
|
||
| // Import rules | ||
| 'import/no-default-export': 'error' | ||
| } | ||
| } | ||
| ]; |
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,37 +1,40 @@ | ||
| name: CI_Integration_Linux | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ "main" ] | ||
| pull_request: | ||
| branches: [ "main" ] | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| strategy: | ||
| matrix: | ||
| node-version: [18.x] | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v3 | ||
|
|
||
| - name: Configuring Git LF Settings | ||
| run: | | ||
| git config --global core.autocrlf false | ||
|
|
||
| - name: Use Node.js ${{ matrix.node-version }} | ||
| uses: actions/setup-node@v3 | ||
| with: | ||
| node-version: ${{ matrix.node-version }} | ||
|
|
||
| - name: Build and Test | ||
| run: | | ||
| npm install | ||
| npm run build-and-lint | ||
| npm run test | ||
|
|
||
| - name: Creating .vsix | ||
| run: | | ||
| npm run package | ||
| name: CI_Integration_Linux | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ "main" ] | ||
| pull_request: | ||
| branches: [ "main" ] | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| strategy: | ||
| matrix: | ||
| node-version: [22.x] | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v3 | ||
|
|
||
| - name: Configuring Git LF Settings | ||
| run: | | ||
| git config --global core.autocrlf false | ||
|
|
||
| - name: Use Node.js ${{ matrix.node-version }} | ||
| uses: actions/setup-node@v3 | ||
| with: | ||
| node-version: ${{ matrix.node-version }} | ||
|
|
||
| - name: Build and Test | ||
| run: | | ||
| npm install | ||
| npm run build-and-lint | ||
| npm run test | ||
|
|
||
| - name: Creating .vsix | ||
| run: | | ||
| npm run package | ||
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.
Uh oh!
There was an error while loading. Please reload this page.