Skip to content

Commit

Permalink
chore(deps-dev): bump eslint from 8.52.0 to 8.53.0 (DIYgod#13709)
Browse files Browse the repository at this point in the history
* chore(deps-dev): bump eslint from 8.52.0 to 8.53.0

Bumps [eslint](https://github.com/eslint/eslint) from 8.52.0 to 8.53.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.52.0...v8.53.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* chore: fix pnpm install

* style: migrate deprecated eslint formatting rules to @Stylistic

* style: disable `beforeBlockComment` in `lines-around-comment`

refs: DIYgod#13769

* fix: cannot find @stylistic/js plugin

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Nov 13, 2023
1 parent 9d1b29f commit 073021d
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 52 deletions.
39 changes: 20 additions & 19 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": ["eslint:recommended", "plugin:n/recommended", "plugin:prettier/recommended", "plugin:yml/recommended"],
"plugins": ["prettier"],
"plugins": ["prettier", "@stylistic/js"],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
Expand Down Expand Up @@ -54,25 +54,26 @@
"prefer-const": 2,
"prefer-regex-literals": 1,
"require-await": 2,
"spaced-comment": 2,
// layout & formatting
"arrow-parens": 2,
"arrow-spacing": 2,
"comma-spacing": 2,
"comma-style": 2,
"func-call-spacing": 2,
"keyword-spacing": 2,
"linebreak-style": 2,
"lines-around-comment": 2,
"no-multiple-empty-lines": 2,
"no-trailing-spaces": 2,
"rest-spread-spacing": 2,
"semi": 2,
"space-before-blocks": 2,
"space-in-parens": 2,
"space-infix-ops": 2,
"space-unary-ops": 2,
// plugin specific
// previous eslint formatting rules
"@stylistic/js/arrow-parens": 2,
"@stylistic/js/arrow-spacing": 2,
"@stylistic/js/comma-spacing": 2,
"@stylistic/js/comma-style": 2,
"@stylistic/js/function-call-spacing": 2,
"@stylistic/js/keyword-spacing": 2,
"@stylistic/js/linebreak-style": 2,
"@stylistic/js/lines-around-comment": ["error", { "beforeBlockComment": false }],
"@stylistic/js/no-multiple-empty-lines": 2,
"@stylistic/js/no-trailing-spaces": 2,
"@stylistic/js/rest-spread-spacing": 2,
"@stylistic/js/semi": 2,
"@stylistic/js/space-before-blocks": 2,
"@stylistic/js/space-in-parens": 2,
"@stylistic/js/space-infix-ops": 2,
"@stylistic/js/space-unary-ops": 2,
"@stylistic/js/spaced-comment": 2,
// https://github.com/eslint-community/eslint-plugin-n
"n/no-extraneous-require": [
"error",
{
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,15 @@
},
"devDependencies": {
"@microsoft/eslint-formatter-sarif": "3.0.0",
"@stylistic/eslint-plugin-js": "1.2.0",
"@types/aes-js": "3.1.4",
"@types/crypto-js": "4.2.1",
"@types/eslint": "8.44.6",
"@types/eslint-config-prettier": "6.11.3",
"@types/etag": "1.8.3",
"@types/fs-extra": "11.0.4",
"@types/git-rev-sync": "2.0.2",
"@types/html-to-text": "9.0.4",
"@types/imapflow": "1.0.16",
"@types/jsdom": "21.1.5",
"@types/json-bigint": "1.0.4",
Expand All @@ -180,7 +182,7 @@
"@types/tough-cookie": "4.0.5",
"@vercel/nft": "0.24.3",
"cross-env": "7.0.3",
"eslint": "8.52.0",
"eslint": "8.53.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-n": "16.3.1",
"eslint-plugin-prettier": "5.0.1",
Expand Down
90 changes: 58 additions & 32 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 073021d

Please sign in to comment.