Repository: sindresorhus/awesome-lint (js)

Issue:
Proposal: allow for a TOC-silent "Footnotes" section at README's bottom.
I felt the need of adding a `Footnotes` section in the very bottom of my Awesome list at: https://github.com/kdeldycke/awesome-falsehood/commit/d8db15ad0c6b0acaea1e6da1f48ea4a5922d4118#diff-0730bb7c2e8f9ea2438b52e419dd86c9

@sindresorhus would that be a good idea to have that [footnotes grouped together like this at the bottom](https://github.com/kdeldycke/awesome-falsehood/blob/d8db15ad0c6b0acaea1e6da1f48ea4a5922d4118/readme.md#footnotes)? If so, should I create a PR to propose [ignoring that section in the TOC alongside `Contributing` and `Licence`](https://github.com/sindresorhus/awesome-lint/blob/fe139d82d319023afefef0c8667a1d6fd2ef4ada/rules/toc.js#L15-L20) ?

Pull request:
Allow for a Footnotes section at the end of an Awesome list
That way we can group non-important but necessary content (like extra-copyright notices, hyperlinks to sources, pointers to expansive content, ...) at the end of the document while keeping the main content hyper-focused to our curated awesome lists.

Fixes #117 .

Real-life example available on the `Awesome Falsehood` project at: https://github.com/kdeldycke/awesome-falsehood/blob/d8db15ad0c6b0acaea1e6da1f48ea4a5922d4118/readme.md#footnotes

Patch:
diff --git a/rules/toc.js b/rules/toc.js
index 05234fe..7ab5c31 100644
--- a/rules/toc.js
+++ b/rules/toc.js
@@ -16,7 +16,8 @@ const sectionHeadingBlacklist = new Set([
 	'Contribute',
 	'Contributing',
 	'Licence',
-	'License'
+	'License',
+	'Footnotes'
 ]);
 
 module.exports = rule('remark-lint:awesome-toc', (ast, file) => {


Test patch:
diff --git a/test/fixtures/toc/0.md b/test/fixtures/toc/0.md
index 60ae5ae..6ff0b81 100644
--- a/test/fixtures/toc/0.md
+++ b/test/fixtures/toc/0.md
@@ -30,6 +30,14 @@ non-empty
 
 non-empty
 
+## Contributing
+
+non-empty
+
 ## License
 
 non-empty
+
+## Footnotes
+
+non-empty
diff --git a/test/fixtures/toc/1.md b/test/fixtures/toc/1.md
index 17323db..134b997 100644
--- a/test/fixtures/toc/1.md
+++ b/test/fixtures/toc/1.md
@@ -34,6 +34,14 @@ non-empty
 
 non-empty
 
-## License
+## Contribute
+
+non-empty
+
+## Licence
+
+non-empty
+
+## Footnotes
 
 non-empty
diff --git a/test/fixtures/toc/2.md b/test/fixtures/toc/2.md
index 7c09abb..b151074 100644
--- a/test/fixtures/toc/2.md
+++ b/test/fixtures/toc/2.md
@@ -37,3 +37,11 @@ non-empty
 ## License
 
 non-empty
+
+## Contribute
+
+non-empty
+
+## Footnotes
+
+non-empty
diff --git a/test/fixtures/toc/3.md b/test/fixtures/toc/3.md
index 3faf8d3..9e394ab 100644
--- a/test/fixtures/toc/3.md
+++ b/test/fixtures/toc/3.md
@@ -31,6 +31,14 @@ non-empty
 
 non-empty
 
-## License
+## Footnotes
+
+non-empty
+
+## Licence
+
+non-empty
+
+## Contribute
 
 non-empty
diff --git a/test/fixtures/toc/4.md b/test/fixtures/toc/4.md
index 4cd8b5f..e669097 100644
--- a/test/fixtures/toc/4.md
+++ b/test/fixtures/toc/4.md
@@ -44,6 +44,14 @@ non-empty
 
 non-empty
 
-## License
+## Footnotes
+
+non-empty
+
+## Contribute
+
+non-empty
+
+## Licence
 
 non-empty
diff --git a/test/fixtures/toc/5.md b/test/fixtures/toc/5.md
index ee6eb78..e98539f 100644
--- a/test/fixtures/toc/5.md
+++ b/test/fixtures/toc/5.md
@@ -17,3 +17,7 @@ This section should be ignored.
 ## License
 
 This section should be ignored.
+
+## Footnotes
+
+This section should be ignored.