Skip to content

Commit

Permalink
Bump the vscode-dependencies group across 1 directory with 5 updates (#…
Browse files Browse the repository at this point in the history
…302)

* Bump the vscode-dependencies group across 1 directory with 5 updates

Bumps the vscode-dependencies group with 5 updates in the /vscode directory:

| Package | From | To |
| --- | --- | --- |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `7.17.0` | `8.0.1` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `7.17.0` | `8.0.1` |
| [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) | `28.6.0` | `28.8.0` |
| [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) | `48.8.3` | `50.0.1` |
| [mocha](https://github.com/mochajs/mocha) | `10.7.0` | `10.7.3` |



Updates `@typescript-eslint/eslint-plugin` from 7.17.0 to 8.0.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.0.1/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 7.17.0 to 8.0.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.0.1/packages/parser)

Updates `eslint-plugin-jest` from 28.6.0 to 28.8.0
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](jest-community/eslint-plugin-jest@v28.6.0...v28.8.0)

Updates `eslint-plugin-jsdoc` from 48.8.3 to 50.0.1
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](gajus/eslint-plugin-jsdoc@v48.8.3...v50.0.1)

Updates `mocha` from 10.7.0 to 10.7.3
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md)
- [Commits](mochajs/mocha@v10.7.0...v10.7.3)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: vscode-dependencies
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: vscode-dependencies
- dependency-name: eslint-plugin-jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: vscode-dependencies
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: vscode-dependencies
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: vscode-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>

* Updated to ESLint v9.

* Do not for CRLF.

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: reduckted <[email protected]>
  • Loading branch information
dependabot[bot] and reduckted authored Aug 13, 2024
1 parent aa157cc commit 8f18075
Show file tree
Hide file tree
Showing 12 changed files with 562 additions and 768 deletions.
1 change: 0 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ root = true
[*]
indent_size = 4
charset = utf-8
end_of_line = crlf
insert_final_newline = true
trim_trailing_whitespace = true
1 change: 0 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ updates:
- dependency-name: "@types/node" # Pinned because VS Code uses Node.js v16.
- dependency-name: "chai" # Pinned because v5 is ESM only.
- dependency-name: "sinon-chai" # Pinned because chai@5 is ESM only.
- dependency-name: "eslint" # Pinned because of lack of support for eslint@9.

- package-ecosystem: "nuget"
directory: "/visual-studio"
Expand Down
118 changes: 0 additions & 118 deletions vscode/.eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion vscode/.prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"arrowParens": "always",
"endOfLine": "crlf",
"endOfLine": "auto",
"semi": true,
"tabWidth": 4,
"trailingComma": "none",
Expand Down
139 changes: 139 additions & 0 deletions vscode/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
// @ts-check

const eslint = require('@eslint/js');
const jest = require('eslint-plugin-jest');
const jsdoc = require('eslint-plugin-jsdoc');
const n = require('eslint-plugin-n');
const perfectionist = require('eslint-plugin-perfectionist');
const prettier = require('eslint-plugin-prettier/recommended');
const tseslint = require('typescript-eslint');

module.exports = tseslint.config(
{ name: '@eslint/js', ...eslint.configs.recommended },
...tseslint.configs.recommendedTypeChecked,
jsdoc.configs['flat/recommended'],
n.configs['flat/recommended-module'],
{ name: 'prettier', ...prettier },
{
name: 'ignores',
ignores: [
'.vscode-test.mjs',
'.vscode-test',
'dist',
'eslint.config.js',
'out-test',
'webpack.config.js'
]
},
{
name: 'base',
languageOptions: {
parserOptions: {
projectService: true,
tsconfigRootDir: __dirname
}
}
},
{
name: 'customizations',
files: ['**/*.ts'],
plugins: {
'@typescript-eslint': tseslint.plugin,
jest,
perfectionist
},
rules: {
'@typescript-eslint/no-inferrable-types': 'off',
'@typescript-eslint/array-type': ['warn', { default: 'array' }],
'@typescript-eslint/consistent-indexed-object-style': ['warn', 'record'],
'@typescript-eslint/consistent-type-assertions': [
'warn',
{ assertionStyle: 'as', objectLiteralTypeAssertions: 'allow' }
],
'@typescript-eslint/explicit-function-return-type': [
'warn',
{
allowExpressions: true,
allowTypedFunctionExpressions: true,
allowHigherOrderFunctions: true,
allowDirectConstAssertionInArrowFunctions: true,
allowConciseArrowFunctionExpressionsStartingWithVoid: true
}
],
'@typescript-eslint/explicit-member-accessibility': [
'warn',
{
accessibility: 'explicit',
overrides: {
constructors: 'no-public'
}
}
],
'@typescript-eslint/no-confusing-non-null-assertion': 'error',
'@typescript-eslint/prefer-readonly': 'warn',
'@typescript-eslint/promise-function-async': 'warn',
'@typescript-eslint/restrict-template-expressions': 'off',
'perfectionist/sort-imports': [
'warn',
{
groups: [
['builtin-type', 'external-type', 'internal-type'],
'parent-type',
['sibling-type', 'index-type'],
['builtin', 'external', 'internal'],
'parent',
['sibling', 'index', 'object'],
'unknown'
]
}
],
'jest/no-focused-tests': 'warn',
'jsdoc/require-description': ['warn', { checkConstructors: false }],
'jsdoc/require-returns': ['warn', { checkGetters: false }],
'jsdoc/require-returns-check': 'off',
'jsdoc/require-jsdoc': [
'warn',
{
checkGetters: true,
require: {
ArrowFunctionExpression: false,
ClassDeclaration: true,
ClassExpression: true,
FunctionDeclaration: true,
FunctionExpression: true,
MethodDefinition: true
}
}
],
'jsdoc/tag-lines': ['warn', 'never', { startLines: 1 }],
'jsdoc/require-param-type': 'off',
'jsdoc/require-returns-type': 'off',
'n/no-sync': 'error',
'n/no-unpublished-import': 'off',
'n/no-missing-import': 'off',
'n/no-unsupported-features/es-syntax': 'off',
'no-console': 'error',
'prefer-const': 'off'
},
settings: {
jsdoc: {
tagNamePreference: {
class: 'constructor'
},
ignorePrivate: false
}
}
},
{
name: 'tests',
files: ['**/*.test.ts'],
plugins: {
'@typescript-eslint': tseslint.plugin,
jsdoc
},
rules: {
'@typescript-eslint/no-unused-expressions': 'off',
'jsdoc/require-jsdoc': 'off'
}
}
);
Loading

0 comments on commit 8f18075

Please sign in to comment.