Skip to content

Commit

Permalink
feat: add check-examples replacement processor; fixes gajus#928
Browse files Browse the repository at this point in the history
  • Loading branch information
brettz9 committed Jul 27, 2024
1 parent 1482f89 commit 8c0d848
Show file tree
Hide file tree
Showing 8 changed files with 1,494 additions and 16 deletions.
5 changes: 3 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,16 @@ const common = {
},
plugins: {
jsdoc
}
},
};

export default [
// canonical,
// canonicalJsdoc,
...jsdoc.configs['examples-and-default-expressions'],
{
// Must be by itself
ignores: ['dist/**/*.js', '.ignore/**/*.js'],
ignores: ['dist/**', '.ignore/**/*.js'],
},
{
...common,
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"@types/chai": "^4.3.16",
"@types/debug": "^4.1.12",
"@types/eslint": "^8.56.10",
"@types/espree": "^10.1.0",
"@types/esquery": "^1.5.4",
"@types/estree": "^1.0.5",
"@types/json-schema": "^7.0.15",
Expand Down
19 changes: 15 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8c0d848

Please sign in to comment.