Skip to content

Commit

Permalink
Exclude config files from static analysis [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Jun 7, 2024
1 parent 63e8795 commit a685042
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
3 changes: 0 additions & 3 deletions etc/typedoc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/**
* @type {Partial<import("typedoc").TypeDocOptions>}
*/
export default {
entryPoints: ["../src/index.js"],
excludePrivate: true,
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export async function doc() {
// Performs the static analysis of source code.
export async function lint() {
await $`tsc --project tsconfig.json`;
return $`eslint --config=etc/eslint.config.js gulpfile.js bin etc example src test`;
return $`eslint --config=etc/eslint.config.js gulpfile.js bin example src test`;
}

// Publishes the package.
Expand Down
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"exclude": ["etc/eslint.config.js"],
"include": ["*.js", "bin/*.js", "etc/*.js", "example/*.js", "src/**/*.js", "test/**/*.js"],
"include": ["*.js", "bin/*.js", "example/*.js", "src/**/*.js", "test/**/*.js"],
"compilerOptions": {
"allowJs": true,
"baseUrl": ".",
Expand Down

0 comments on commit a685042

Please sign in to comment.