Skip to content

Commit c0a9d02

Browse files
committed
Run linters
1 parent 59ef521 commit c0a9d02

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

.markdownlint.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"MD013": false
2+
"MD013": false,
3+
"MD024": false
34
}

examples/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ Check basic `Beman.Optional26` library usages:
1414
* local [./std_vs_beman.cpp](./std_vs_beman.cpp) or [std_vs_beman.cpp@Compiler Explorer](https://godbolt.org/z/ds5MvfGe6)
1515
* local [./concept_checks.cpp](./concep_checks.cpp) or [concept_checks.cpp@Compiler Explorer](https://godbolt.org/z/7eYb4Wbjc)
1616

17-
1817
### Local Build and Run
1918

2019
```shell

examples/concept_checks.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ struct derived : public base {
3636
derived(int i, int j) : base(i), m_j(j) {}
3737
};
3838

39-
} //
39+
} // namespace test
4040

4141
const auto test_concepts_disabled = [](auto&& opt) {
4242
// The optional type is the opt type without the reference.
@@ -84,7 +84,6 @@ int main() {
8484
test_concepts_disabled(std::optional<test::derived>{});
8585
}
8686

87-
8887
{
8988
// beman::optional26::optional meets range concepts.
9089
test_concepts_enabled(beman::optional26::optional<int>{});
@@ -103,4 +102,3 @@ int main() {
103102
//
104103
// # run example:
105104
// $ .build/gcc-14/examples/RelWithDebInfo/concept_checks
106-

scripts/lint-all.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,11 @@ echo "All scripts files were linted."
2424
# Lint all Markdown files in the project.
2525
find README.md examples/ -name "*.md" | xargs markdownlint -f || echo "markdownlint failed."
2626
echo "All Markdown files were linted."
27+
28+
# TODO: Lint all YAML files in the project.
29+
# echo "All YAML files were linted."
30+
31+
# TODO: Lint all JSON files in the project.
32+
# echo "All JSON files were linted."
33+
34+
echo "All linters finished."

0 commit comments

Comments
 (0)