mirror of
https://github.com/AdguardTeam/AdguardFilters.git
synced 2026-08-31 12:23:36 +00:00
Upd .aglintrc.yaml
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
# Keep in mind that in regexp rules, dots may or may not be escaped.
|
||||
# So if you want to exclude a rule like:
|
||||
# `/example.(com|org)\/ads/`
|
||||
# You should replace the dot `.` with `(\.|\\\.)`, resulting in:
|
||||
# `\/example(\.|\\\.)\(com\|org\)\\\/ads\/`
|
||||
# This regexp will match and block both:
|
||||
# `/example.(com|org)\/ads/`
|
||||
# `/example\.(com|org)\/ads/`
|
||||
# See an example: https://regex101.com/r/L7CsOZ/1
|
||||
#
|
||||
# https://github.com/AdguardTeam/AGLint#configuration
|
||||
root: true
|
||||
extends:
|
||||
|
||||
Reference in New Issue
Block a user