Skip to content

Commit

Permalink
add markdown linter
Browse files Browse the repository at this point in the history
Squashed commit of the following:

commit 4097785
Merge: 8a5052a 60effe8
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Mon May 29 16:00:10 2023 +0300

    Merge branch 'feature/md-lint' of ssh://bit.adguard.com:7999/adguard-filters/scriptlets into feature/md-lint

commit 8a5052a
Merge: 58832b4 dce3fa2
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Mon May 29 15:59:40 2023 +0300

    merge master, resolve conflicts

commit 60effe8
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Mon May 29 15:56:48 2023 +0300

    fix wording

    Squashed commit of the following:

    commit 1dd5665
    Author: Slava Leleka <v.leleka@adguard.com>
    Date:   Fri May 26 20:54:01 2023 +0300

        fix wording

commit 58832b4
Merge: f98e9b7 aee79e0
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Fri May 26 16:09:34 2023 +0300

    merge master, resolve conflicts

commit f98e9b7
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Fri May 26 16:07:33 2023 +0300

    fix docs md linter errors

    Squashed commit of the following:

    commit 693e1ba
    Author: Slava Leleka <v.leleka@adguard.com>
    Date:   Fri May 26 12:18:04 2023 +0300

        update abp source urls, update compatibility for dir-string

    commit 74bd7fa
    Merge: c1cf5fe b3cdab9
    Author: Slava Leleka <v.leleka@adguard.com>
    Date:   Fri May 26 11:50:33 2023 +0300

        Merge branch 'feature/md-lint' into fix/md-lint-errors

    commit c1cf5fe
    Merge: e118129 4a5e71a
    Author: Slava Leleka <v.leleka@adguard.com>
    Date:   Fri May 26 00:19:55 2023 +0300

        Merge branch 'feature/md-lint' into fix/md-lint-errors

    commit e118129
    Author: Slava Leleka <v.leleka@adguard.com>
    Date:   Thu May 25 23:05:43 2023 +0300

        fix md lint errors

    commit e0ef592
    Merge: 6c61a03 b1f1063
    Author: Slava Leleka <v.leleka@adguard.com>
    Date:   Thu May 25 23:04:27 2023 +0300

        Merge branch 'feature/md-lint' into fix/md-lint-errors

    commit 6c61a03
    Merge: d220a6f 3f6a7ae
    Author: Slava Leleka <v.leleka@adguard.com>
    Date:   Thu May 25 22:55:49 2023 +0300

        resolve conflicts

    commit d220a6f
    Merge: 70ec126 c7824f7
    Author: Slava Leleka <v.leleka@adguard.com>
    Date:   Thu May 25 22:48:32 2023 +0300

        Merge branch 'feature/md-lint' into fix/md-lint-errors

    commit 70ec126
    Merge: e11cf7d b14a3a0
    Author: Slava Leleka <v.leleka@adguard.com>
    Date:   Thu May 25 22:47:42 2023 +0300

        resolve conflicts

    commit e11cf7d
    Author: Slava Leleka <v.leleka@adguard.com>
    Date:   Thu May 25 22:45:48 2023 +0300

        fix docs build scripts

    commit d016df0
    Author: Slava Leleka <v.leleka@adguard.com>
    Date:   Thu May 25 22:45:00 2023 +0300

        fix test specs - run linter for pull requests

    commit 31ff5e9
    Author: Slava Leleka <v.leleka@adguard.com>
    Date:   Thu May 25 22:42:33 2023 +0300

        add lint:md on pre-commit

    commit ed50914
    Author: Slava Leleka <v.leleka@adguard.com>
    Date:   Thu May 25 22:42:10 2023 +0300

        add lint:md as separate script

    commit e7e974c
    Author: Slava Leleka <v.leleka@adguard.com>
    Date:   Thu May 25 22:41:41 2023 +0300

        fix markdownlint config

    commit f22a355
    Author: Slava Leleka <v.leleka@adguard.com>
    Date:   Thu May 25 22:41:17 2023 +0300

        fix readme

    commit 890ee79
    Author: Slava Leleka <v.leleka@adguard.com>
    Date:   Thu May 25 22:38:11 2023 +0300

        fix docs styles

    commit e467290
    Author: Slava Leleka <v.leleka@adguard.com>
    Date:   Thu May 25 22:25:56 2023 +0300

        fix redirects docs style

    commit be5d80e
    Author: Slava Leleka <v.leleka@adguard.com>
    Date:   Thu May 25 22:03:32 2023 +0300

        fix scriptlets docs style

    commit b14a3a0
    Merge: ccf22c0 9b8651a
    Author: Slava Leleka <v.leleka@adguard.com>
    Date:   Wed May 24 21:55:37 2023 +0300

        Merge branch 'feature/md-lint' into fix/md-lint-errors

    commit ccf22c0
    Author: Slava Leleka <v.leleka@adguard.com>
    Date:   Wed May 24 21:45:31 2023 +0300

        fix trusted scriptlets docs md-linter errors

commit b3cdab9
Merge: 4a5e71a f074923
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Fri May 26 11:50:18 2023 +0300

    Merge branch 'master' into feature/md-lint

commit 4a5e71a
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Fri May 26 00:19:42 2023 +0300

    Revert "add lint:md on pre-commit"

    This reverts commit 9a1f2b6.

commit b1f1063
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Thu May 25 23:04:15 2023 +0300

    fix test specs

commit 3f6a7ae
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Thu May 25 22:54:52 2023 +0300

    fix markdownlint config

commit ec0a102
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Thu May 25 22:53:10 2023 +0300

    fix test specs

commit afb4d9a
Merge: c7824f7 5573145
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Thu May 25 22:52:11 2023 +0300

    Merge branch 'feature/md-lint' of ssh://bit.adguard.com:7999/adguard-filters/scriptlets into feature/md-lint

commit c7824f7
Merge: 3e28abb 6230eb2
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Thu May 25 22:48:20 2023 +0300

    Merge branch 'master' into feature/md-lint

commit 5573145
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Thu May 25 22:44:50 2023 +0300

    fix test specs - run linter for pull requests

commit 9a1f2b6
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Thu May 25 22:42:49 2023 +0300

    add lint:md on pre-commit

commit 75758ad
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Thu May 25 22:42:45 2023 +0300

    add lint:md as separate script

commit 3cf0bbd
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Thu May 25 19:35:46 2023 +0300

    fix md lint errors

commit f3e9b83
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Thu May 25 19:35:10 2023 +0300

    improve markdownlint config

commit d3c6b59
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Thu May 25 19:27:50 2023 +0300

    fix readme heading

commit 3d41950
Merge: 9b8651a 6230eb2
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Thu May 25 19:26:57 2023 +0300

    Merge branch 'master' into feature/md-lint

commit 9b8651a
Merge: aea66a9 067461c
Author: Slava Leleka <v.leleka@adguard.com>
Date:   Wed May 24 20:29:29 2023 +0300

    Merge branch 'master' into feature/md-lint

... and 9 more commits
  • Loading branch information
slavaleleka committed May 30, 2023
1 parent dce3fa2 commit 323fd41
Show file tree
Hide file tree
Showing 95 changed files with 1,576 additions and 936 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ output.md
tests/dist
browserstack.err
local.log
.eslintcache
13 changes: 13 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"ul-indent": { "indent": 4 },
"line-length": {
"stern": true,
"line_length": 120
},
"no-multiple-blanks": { "maximum": 2 },
"no-inline-html": { "allowed_elements": ["a"]},
"no-duplicate-header": { "siblings_only": true },
"no-blanks-blockquote": false,
"no-bare-urls": false,
"ul-style": { "style": "dash" }
}
1 change: 1 addition & 0 deletions .markdownlintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
19 changes: 10 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- ability for `prevent-element-src-loading` scriptlet to prevent inline `onerror` and match `link` tag [#276](https://github.com/AdguardTeam/Scriptlets/issues/276)
- ability for `prevent-element-src-loading` scriptlet to prevent inline `onerror`
and match `link` tag [#276](https://github.com/AdguardTeam/Scriptlets/issues/276)
- new special value modifiers for `set-constant` [#316](https://github.com/AdguardTeam/Scriptlets/issues/316)

### Changed
Expand Down Expand Up @@ -166,15 +167,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- Scriptlets:
- `prevent-element-src-loading` [#228](https://github.com/AdguardTeam/Scriptlets/issues/228)
- `prevent-fetch` [#216](https://github.com/AdguardTeam/Scriptlets/issues/216)
- `abort-on-stack-trace` [#201](https://github.com/AdguardTeam/Scriptlets/issues/201)
- `abort-current-inline-script` [#251](https://github.com/AdguardTeam/Scriptlets/issues/251)
- `set-cookie` & `set-cookie-reload`
- `prevent-element-src-loading` [#228](https://github.com/AdguardTeam/Scriptlets/issues/228)
- `prevent-fetch` [#216](https://github.com/AdguardTeam/Scriptlets/issues/216)
- `abort-on-stack-trace` [#201](https://github.com/AdguardTeam/Scriptlets/issues/201)
- `abort-current-inline-script` [#251](https://github.com/AdguardTeam/Scriptlets/issues/251)
- `set-cookie` & `set-cookie-reload`
- Redirects:
- `google-ima3` [#255](https://github.com/AdguardTeam/Scriptlets/issues/255)
- `metrika-yandex-tag` [#254](https://github.com/AdguardTeam/Scriptlets/issues/254)
- `googlesyndication-adsbygoogle` [#252](https://github.com/AdguardTeam/Scriptlets/issues/252)
- `google-ima3` [#255](https://github.com/AdguardTeam/Scriptlets/issues/255)
- `metrika-yandex-tag` [#254](https://github.com/AdguardTeam/Scriptlets/issues/254)
- `googlesyndication-adsbygoogle` [#252](https://github.com/AdguardTeam/Scriptlets/issues/252)


[Unreleased]: https://github.com/AdguardTeam/Scriptlets/compare/v1.9.7...HEAD
Expand Down
Loading

0 comments on commit 323fd41

Please sign in to comment.