Skip to content

Commit

Permalink
fix(eslint-config): Remove eslint-plugin-header patch (#7305)
Browse files Browse the repository at this point in the history
  • Loading branch information
MariaSolOs authored Mar 3, 2025
1 parent 5dbd8b5 commit d320e1a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 26 deletions.
14 changes: 0 additions & 14 deletions .yarn/patches/eslint-plugin-header-npm-3.1.1-402265ec6f.patch

This file was deleted.

4 changes: 4 additions & 0 deletions packages/eslint-config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ const eslintBuiltinRules = require("./eslint-builtin-rules.js");
const eslintPluginRules = require("./eslint-plugin-rules.js");
const tsEslintRules = require("./typescript-eslint-rules.js");

// ESLint 9 requires all rules with options to have a schema, but
// eslint-plugin-header doesn't do this yet...
headerPlugin.rules.header.meta.schema = false;

module.exports = tseslint.config(
blueprintPlugin.flatConfigs.recommended,
importPlugin.flatConfigs.typescript,
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"dependencies": {
"@blueprintjs/eslint-plugin": "workspace:^",
"eslint": "^9.20.0",
"eslint-plugin-header": "patch:eslint-plugin-header@npm%3A3.1.1#~/.yarn/patches/eslint-plugin-header-npm-3.1.1-402265ec6f.patch",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "~2.31.0",
"eslint-plugin-jsdoc": "^48.0.2",
"eslint-plugin-react": "^7.37.4",
Expand Down
13 changes: 2 additions & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ __metadata:
dependencies:
"@blueprintjs/eslint-plugin": "workspace:^"
eslint: "npm:^9.20.0"
eslint-plugin-header: "patch:eslint-plugin-header@npm%3A3.1.1#~/.yarn/patches/eslint-plugin-header-npm-3.1.1-402265ec6f.patch"
eslint-plugin-header: "npm:^3.1.1"
eslint-plugin-import: "npm:~2.31.0"
eslint-plugin-jsdoc: "npm:^48.0.2"
eslint-plugin-react: "npm:^7.37.4"
Expand Down Expand Up @@ -7293,7 +7293,7 @@ __metadata:
languageName: node
linkType: hard

"eslint-plugin-header@npm:3.1.1":
"eslint-plugin-header@npm:^3.1.1":
version: 3.1.1
resolution: "eslint-plugin-header@npm:3.1.1"
peerDependencies:
Expand All @@ -7302,15 +7302,6 @@ __metadata:
languageName: node
linkType: hard

"eslint-plugin-header@patch:eslint-plugin-header@npm%3A3.1.1#~/.yarn/patches/eslint-plugin-header-npm-3.1.1-402265ec6f.patch":
version: 3.1.1
resolution: "eslint-plugin-header@patch:eslint-plugin-header@npm%3A3.1.1#~/.yarn/patches/eslint-plugin-header-npm-3.1.1-402265ec6f.patch::version=3.1.1&hash=4c78e9"
peerDependencies:
eslint: ">=7.7.0"
checksum: 94c79e8f45c724df516cf786b47db75f2670f781cb8acaf09fd7fbd4922fefdb7668128317452aef8c52dfda0a152a7eb74099d4608b265689c00fc386bbe372
languageName: node
linkType: hard

"eslint-plugin-import@npm:~2.31.0":
version: 2.31.0
resolution: "eslint-plugin-import@npm:2.31.0"
Expand Down

2 comments on commit d320e1a

@svc-palantir-github
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix(eslint-config): Remove eslint-plugin-header patch (#7305)

Build artifact links for this commit: documentation | landing | table | demo

This is an automated comment from the deploy-preview CircleCI job.

@svc-palantir-github
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix(eslint-config): Remove eslint-plugin-header patch (#7305)

Build artifact links for this commit: documentation | landing | table | demo

This is an automated comment from the deploy-preview CircleCI job.

Please sign in to comment.