Skip to content

Commit

Permalink
Bump the dev-dependencies group across 1 directory with 4 updates (#200)
Browse files Browse the repository at this point in the history
* Bump the dev-dependencies group across 1 directory with 4 updates

Bumps the dev-dependencies group with 4 updates in the / directory: [@stylistic/eslint-plugin-js](https://github.com/eslint-stylistic/eslint-stylistic/tree/HEAD/packages/eslint-plugin-js), [eslint](https://github.com/eslint/eslint), [stylelint](https://github.com/stylelint/stylelint) and [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard).


Updates `@stylistic/eslint-plugin-js` from 1.6.3 to 2.8.0
- [Release notes](https://github.com/eslint-stylistic/eslint-stylistic/releases)
- [Changelog](https://github.com/eslint-stylistic/eslint-stylistic/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint-stylistic/eslint-stylistic/commits/v2.8.0/packages/eslint-plugin-js)

Updates `eslint` from 8.57.0 to 9.11.1
- [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.11.1)

Updates `stylelint` from 16.2.1 to 16.9.0
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](stylelint/stylelint@16.2.1...16.9.0)

Updates `stylelint-config-standard` from 36.0.0 to 36.0.1
- [Release notes](https://github.com/stylelint/stylelint-config-standard/releases)
- [Changelog](https://github.com/stylelint/stylelint-config-standard/blob/main/CHANGELOG.md)
- [Commits](stylelint/stylelint-config-standard@36.0.0...36.0.1)

---
updated-dependencies:
- dependency-name: "@stylistic/eslint-plugin-js"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: stylelint-config-standard
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
...

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

* config file

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rom1-B <[email protected]>
  • Loading branch information
dependabot[bot] and Rom1-B authored Oct 16, 2024
1 parent a3319c4 commit 24a625b
Show file tree
Hide file tree
Showing 4 changed files with 628 additions and 1,261 deletions.
44 changes: 0 additions & 44 deletions .eslintrc.js

This file was deleted.

53 changes: 53 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
import stylisticjs from "@stylistic/eslint-plugin-js";
import globals from "globals";
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all
});

export default [{
ignores: ["node_modules/*", "vendor/*", "eslint.config.mjs", ".stylelintrc.js"], //ignore self config file because of import.meta.url
}, ...compat.extends("eslint:recommended"), {
plugins: {
"@stylistic/js": stylisticjs,
},

languageOptions: {
globals: {
...globals.browser,
...globals.jquery,
CFG_GLPI: true,
GLPI_PLUGINS_PATH: true,
__: true,
_n: true,
_x: true,
_nx: true,
},

ecmaVersion: 8,
sourceType: "script",
},

rules: {
"no-console": ["error", {
allow: ["warn", "error"],
}],

"no-unused-vars": ["error", {
vars: "local",
}],

"@stylistic/js/eol-last": ["error", "always"],
"@stylistic/js/indent": ["error", 4],
"@stylistic/js/linebreak-style": ["error", "unix"],
"@stylistic/js/semi": ["error", "always"],
},
}, {}];
Loading

0 comments on commit 24a625b

Please sign in to comment.