Skip to content

Commit

Permalink
chore: improve setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT committed Nov 4, 2024
1 parent d629461 commit a8756b7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@
"matchDepTypes": ["engines"],
"rangeStrategy": "replace"
},
{
// Disable updates for eslint-plugin-file-progress + rimraf until Node 18 support is dropped
"groupName": "disabled",
"matchPackageNames": ["eslint-plugin-file-progress", "rimraf"],
"enabled": false
},
{
"groupName": "eslint",
"matchPackageNames": [
Expand All @@ -58,12 +64,6 @@
{
"groupName": "doc-dependencies",
"matchPackageNames": ["ts-morph", "vitepress"]
},
{
// Disable updates for rimraf until Node 18 support is dropped
"groupName": "disabled",
"matchPackageNames": ["rimraf"],
"enabled": false
}
],
"stopUpdatingLabel": "s: on hold",
Expand Down
1 change: 1 addition & 0 deletions eslint-plugin-file-progress.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// TODO @ST-DDT 2024-11-04: This file can be removed in v2.0.0 which requires Node 20+
declare module 'eslint-plugin-file-progress' {
import type { Rule } from 'eslint';

Expand Down
5 changes: 4 additions & 1 deletion eslint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,14 +203,17 @@ const config: ReturnType<typeof tseslint.config> = tseslint.config(
eslintPluginPrettierRecommended,
//#endregion

//#region file-progress
// https://www.npmjs.com/package/eslint-plugin-file-progress
{
plugins: {
'file-progress': eslintPluginFileProgress,
},
rules: {
'file-progress/activate': 1,
'file-progress/activate': 1, // 1 => enabled
},
},
//#endregion

//#region overrides
{
Expand Down

0 comments on commit a8756b7

Please sign in to comment.