diff --git a/CHANGELOG.md b/CHANGELOG.md index a6c5284..509d79b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog][keepachangelog], and this project adheres to [Semantic Versioning][semver]. +## 1.1.12 - 2024-09-04 + +### Changed + +- Updated integrated [AGLint] to v2.0.10 + ## 1.1.11 - 2024-08-23 ### Added diff --git a/server/package.json b/server/package.json index 6d28de9..a4f6545 100644 --- a/server/package.json +++ b/server/package.json @@ -12,7 +12,7 @@ "vscode-languageserver-textdocument": "^1.0.8" }, "devDependencies": { - "@adguard/aglint": "2.0.9", + "@adguard/aglint": "2.0.10", "@types/clone-deep": "^4.0.1", "@types/semver": "^7.5.0", "clone-deep": "^4.0.1", diff --git a/server/yarn.lock b/server/yarn.lock index e23a07d..1d410d9 100644 --- a/server/yarn.lock +++ b/server/yarn.lock @@ -2,10 +2,10 @@ # yarn lockfile v1 -"@adguard/aglint@2.0.9": - version "2.0.9" - resolved "https://registry.yarnpkg.com/@adguard/aglint/-/aglint-2.0.9.tgz#2082b12107dd2090102a72d64d8397a09f5e98d0" - integrity sha512-1xnQdGNwk6xb9m8YyxbaMLbSTQ59tehlwv7P92O7MqIMFLoLJy70HPrx3JOTj+GRrSNQOuJFHJnl7LVvF7pyUw== +"@adguard/aglint@2.0.10": + version "2.0.10" + resolved "https://registry.yarnpkg.com/@adguard/aglint/-/aglint-2.0.10.tgz#5d1ef8c3934eed896ef32dcbb385d27f5fd292ce" + integrity sha512-gv04PUw0M9sPYbdiN5HIc4paBNvPbKpOEKmXJplcU0F5/k2vYREVwrtKS8YvezbSOGR4cUL/AjVsqiY4O8SjfQ== dependencies: "@adguard/agtree" "^1.1.8" "@inquirer/checkbox" "^1.3.7" diff --git a/test/static/aglint/.aglintrc.yml b/test/static/aglint/.aglintrc.yml index 65cd978..afc2811 100644 --- a/test/static/aglint/.aglintrc.yml +++ b/test/static/aglint/.aglintrc.yml @@ -4,3 +4,8 @@ extends: - aglint:recommended rules: single-selector: warn + no-excluded-rules: + - error + - regexp-patterns: + # Do not forget to escape special regex characters + - example\.com\/bad\/query\/ diff --git a/test/static/aglint/list3.txt b/test/static/aglint/list3.txt index 7dfc373..bef0ab3 100644 --- a/test/static/aglint/list3.txt +++ b/test/static/aglint/list3.txt @@ -22,3 +22,6 @@ example.com##... ! invalid modifier ||example.com^$specifichide ||example.com^$referrerpolicy=~origin + +! excluded rule +example.com/bad/query/