Skip to content

Commit d1ed377

Browse files
chore(deps-dev): bump the dev-dependencies group across 1 directory with 7 updates (#797)
* chore(deps-dev): bump the dev-dependencies group across 1 directory with 7 updates Bumps the dev-dependencies group with 7 updates in the / directory: | Package | From | To | | --- | --- | --- | | [eslint](https://github.com/eslint/eslint) | `8.57.0` | `9.12.0` | | [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) | `2.29.1` | `2.31.0` | | [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) | `5.1.3` | `5.2.1` | | [mocha](https://github.com/mochajs/mocha) | `10.4.0` | `10.7.3` | | [prettier](https://github.com/prettier/prettier) | `3.2.5` | `3.3.3` | | [typescript](https://github.com/microsoft/TypeScript) | `5.4.3` | `5.6.2` | | [webpack](https://github.com/webpack/webpack) | `5.94.0` | `5.95.0` | Updates `eslint` from 8.57.0 to 9.12.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](eslint/eslint@v8.57.0...v9.12.0) Updates `eslint-plugin-import` from 2.29.1 to 2.31.0 - [Release notes](https://github.com/import-js/eslint-plugin-import/releases) - [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md) - [Commits](import-js/eslint-plugin-import@v2.29.1...v2.31.0) Updates `eslint-plugin-prettier` from 5.1.3 to 5.2.1 - [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases) - [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md) - [Commits](prettier/eslint-plugin-prettier@v5.1.3...v5.2.1) Updates `mocha` from 10.4.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.4.0...v10.7.3) Updates `prettier` from 3.2.5 to 3.3.3 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.2.5...3.3.3) Updates `typescript` from 5.4.3 to 5.6.2 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](microsoft/TypeScript@v5.4.3...v5.6.2) Updates `webpack` from 5.94.0 to 5.95.0 - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](webpack/webpack@v5.94.0...v5.95.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-major dependency-group: dev-dependencies - dependency-name: eslint-plugin-import dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: eslint-plugin-prettier dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: mocha dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies - dependency-name: webpack dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-dependencies ... Signed-off-by: dependabot[bot] <[email protected]> * migrate to flat config, bump minimum nodejs version * bump more * bump --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kagami Sascha Rosylight <[email protected]>
1 parent c28187c commit d1ed377

File tree

5 files changed

+1320
-1190
lines changed

5 files changed

+1320
-1190
lines changed

.eslintrc.json

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
node-version: [14, 16, 18]
10+
node-version: [18, 20, 22]
1111

1212
steps:
1313
- uses: actions/checkout@v1

eslint.config.js

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
import js from "@eslint/js";
2+
import globals from "globals";
3+
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";
4+
import importPlugin from 'eslint-plugin-import';
5+
6+
export default [
7+
js.configs.recommended,
8+
eslintPluginPrettierRecommended,
9+
importPlugin.flatConfigs.recommended,
10+
{
11+
languageOptions: {
12+
ecmaVersion: "latest",
13+
sourceType: "module",
14+
globals: {
15+
...globals.browser,
16+
...globals.node,
17+
...globals.mocha,
18+
}
19+
},
20+
rules: {
21+
"eol-last": "error",
22+
"import/extensions": ["error", "always"],
23+
'import/no-unresolved': 0, // https://github.com/import-js/eslint-plugin-import/issues/3082
24+
"no-console": "error",
25+
"no-constant-condition": ["error", { "checkLoops": false }],
26+
"no-eval": "error",
27+
"no-implied-eval": "error",
28+
"no-trailing-spaces": "error",
29+
"prefer-const": "error",
30+
"semi": "error"
31+
},
32+
},
33+
];

0 commit comments

Comments
 (0)