mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
refactor(data): lint Syntax.json
This commit is contained in:
parent
e17da63086
commit
5c0c9003c8
2 changed files with 21 additions and 18 deletions
|
|
@ -1,7 +1,7 @@
|
|||
[
|
||||
{
|
||||
"id": 1,
|
||||
"definitionUrl": "https://en.wikipedia.org/wiki/Hosts_(file)",
|
||||
"id": 1,
|
||||
"name": "Hosts (localhost IPv4)"
|
||||
},
|
||||
{
|
||||
|
|
@ -9,23 +9,23 @@
|
|||
"name": "Domains"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"definitionUrl": "https://adblockplus.org/filters",
|
||||
"id": 3,
|
||||
"name": "Adblock Plus"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"definitionUrl": "https://github.com/gorhill/uBlock/wiki/Static-filter-syntax",
|
||||
"id": 4,
|
||||
"name": "uBlock Origin Static"
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"definitionUrl": "https://kb.adguard.com/en/general/how-to-create-your-own-ad-filters",
|
||||
"id": 6,
|
||||
"name": "AdGuard"
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"definitionUrl": "https://github.com/gorhill/uBlock/wiki/Dynamic-filtering:-quick-guide",
|
||||
"id": 7,
|
||||
"name": "uMatrix / uBlock Origin Dynamic"
|
||||
},
|
||||
{
|
||||
|
|
@ -37,8 +37,8 @@
|
|||
"name": "IPs (IPv4; no CIDR)"
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"definitionUrl": "https://blogs.msdn.microsoft.com/ie/2010/12/07/ie9-and-privacy-introducing-tracking-protection/",
|
||||
"id": 10,
|
||||
"name": "Tracking Protection List (IE)"
|
||||
},
|
||||
{
|
||||
|
|
@ -46,18 +46,18 @@
|
|||
"name": "Redirector"
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"definitionUrl": "https://github.com/NanoAdblocker/NanoCore/tree/master/notes",
|
||||
"id": 12,
|
||||
"name": "Nano Adblocker Static"
|
||||
},
|
||||
{
|
||||
"id": 13,
|
||||
"definitionUrl": "https://github.com/xd4rker/MinerBlock",
|
||||
"id": 13,
|
||||
"name": "MinerBlock"
|
||||
},
|
||||
{
|
||||
"id": 14,
|
||||
"definitionUrl": "https://en.wikipedia.org/wiki/Hosts_(file)",
|
||||
"id": 14,
|
||||
"name": "Non-localhost hosts (IPv4)"
|
||||
},
|
||||
{
|
||||
|
|
@ -69,18 +69,18 @@
|
|||
"name": "Domains with wildcards"
|
||||
},
|
||||
{
|
||||
"id": 17,
|
||||
"definitionUrl": "https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#scriptlet-injection",
|
||||
"id": 17,
|
||||
"name": "uBlock Origin scriptlet injection"
|
||||
},
|
||||
{
|
||||
"id": 18,
|
||||
"definitionUrl": "https://help.obdev.at/littlesnitch/lsc-rule-group-subscriptions",
|
||||
"id": 18,
|
||||
"name": "Little Snitch subscription rules"
|
||||
},
|
||||
{
|
||||
"id": 19,
|
||||
"definitionUrl": "https://www.privoxy.org/user-manual/actions-file.html",
|
||||
"id": 19,
|
||||
"name": "Privoxy action file"
|
||||
},
|
||||
{
|
||||
|
|
@ -88,8 +88,8 @@
|
|||
"name": "dnsmasq domains list"
|
||||
},
|
||||
{
|
||||
"id": 21,
|
||||
"definitionUrl": "https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#include-file-name",
|
||||
"id": 21,
|
||||
"name": "!#include compilation"
|
||||
},
|
||||
{
|
||||
|
|
@ -117,8 +117,8 @@
|
|||
"name": "Windows command line script"
|
||||
},
|
||||
{
|
||||
"id": 28,
|
||||
"definitionUrl": "https://help.eyeo.com/en/adblockplus/how-to-write-filters#basic",
|
||||
"id": 28,
|
||||
"name": "Adblocker-syntax domains"
|
||||
},
|
||||
{
|
||||
|
|
@ -126,8 +126,8 @@
|
|||
"name": "Socks5"
|
||||
},
|
||||
{
|
||||
"id": 30,
|
||||
"definitionUrl": "https://docs.pi-hole.net/ftldns/regex/tutorial/",
|
||||
"id": 30,
|
||||
"name": "Pi-hole RegEx"
|
||||
},
|
||||
{
|
||||
|
|
@ -147,18 +147,18 @@
|
|||
"name": "IPs (IPv4; CIDR only)"
|
||||
},
|
||||
{
|
||||
"id": 35,
|
||||
"definitionUrl": "https://en.wikipedia.org/wiki/Hosts_(file)",
|
||||
"id": 35,
|
||||
"name": "Hosts (localhost IPv4 + IPv6)"
|
||||
},
|
||||
{
|
||||
"id": 36,
|
||||
"definitionUrl": "https://en.wikipedia.org/wiki/Hosts_(file)",
|
||||
"id": 36,
|
||||
"name": "Hosts (localhost IPv6)"
|
||||
},
|
||||
{
|
||||
"id": 37,
|
||||
"definitionUrl": "https://en.wikipedia.org/wiki/Hosts_(file)",
|
||||
"id": 37,
|
||||
"name": "Non-localhost hosts (IPv6)"
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -35,3 +35,6 @@ mv Software.tmp Software.json
|
|||
|
||||
jq -S ".|=sort_by(.syntaxId, .softwareId)" SoftwareSyntax.json > SoftwareSyntax.tmp
|
||||
mv SoftwareSyntax.tmp SoftwareSyntax.json
|
||||
|
||||
jq -S ".|=sort_by(.id)" Syntax.json > Syntax.tmp
|
||||
mv Syntax.tmp Syntax.json
|
||||
|
|
|
|||
Loading…
Reference in a new issue