Update AGLint to v4.0.0 beta (#218970)

* Update AGLint to v4.0.0-beta.0

* Update AGLint config

* Fix rule name in disable comments

* Remove unnecessary disable comments

* Fix pseudo elements

* Update AGLint to v4.0.0-beta.1

* Enable caching for AGLint

* Add AGLint ignore file

* Use ignore file for cache calculation

* Update AGLint cache strategy

* Update AGLint to 4.0.0-beta.2
This commit is contained in:
David
2025-12-08 15:04:57 +01:00
committed by GitHub
parent 022379b7c3
commit 747c97c429
15 changed files with 1122 additions and 336 deletions

View File

@@ -4,7 +4,7 @@
"license": "GPL-3.0-only",
"type": "module",
"engines": {
"node": ">=18.0.0"
"node": ">=20.0.0"
},
"repository": {
"type": "git",
@@ -15,7 +15,7 @@
},
"homepage": "https://github.com/AdguardTeam/AdguardFilters#readme",
"scripts": {
"aglint": "aglint",
"aglint": "aglint --cache --cache-location .aglintcache --cache-strategy content **/*.txt",
"markdownlint": "markdownlint .",
"lint": "npm run aglint && npm run markdownlint",
"prepare": "node .husky/install.js"
@@ -25,7 +25,7 @@
"*.md": "markdownlint"
},
"devDependencies": {
"@adguard/aglint": "3.0.0",
"@adguard/aglint": "4.0.0-beta.2",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"markdownlint": "^0.40.0",