Skip to content

Commit

Permalink
chore: ignore deprecated versions on linters (#1023)
Browse files Browse the repository at this point in the history
  • Loading branch information
almeidx authored Jul 2, 2024
1 parent c05998d commit ea7cafa
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
deno/

gateway/v6/*
payloads/v6/*
rest/v6/*
v6.ts

gateway/v8/*
payloads/v8/*
rest/v8/*
utils/v8.ts
v8.ts
12 changes: 12 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,15 @@ CHANGELOG.md
# Format all of scripts
!scripts/**/*
!.prettierrc.mjs

# Deprecated versions
gateway/v6/*
payloads/v6/*
rest/v6/*
v6.ts

gateway/v8/*
payloads/v8/*
rest/v8/*
utils/v8.ts
v8.ts
1 change: 1 addition & 0 deletions scripts/deno.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ await mkdir(denoPath);
*/
function convertImports(source) {
return source.replaceAll(
// eslint-disable-next-line prefer-named-capture-group
/from '(.*)'/g,
/**
* @param _ Something
Expand Down

0 comments on commit ea7cafa

Please sign in to comment.