Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
quietbits committed Apr 22, 2024
1 parent 9e4ecb6 commit 4c2b49a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
"@typescript-eslint/no-explicit-any": "off",
"import/named": "off"
},
"ignorePatterns": ["./src/temp/*"]
"ignorePatterns": ["./src/temp/stellar-xdr-web/*"]
}
4 changes: 2 additions & 2 deletions .lintstagedrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ const buildEslintCommand = (filenames) =>
.map((f) => path.relative(process.cwd(), f))
.join(" --file ")}`;

const ignoredFiles = ["src/temp/**/*"];
const ignoredFiles = ["./src/temp/stellar-xdr-web/**/*"];

const eslintPattern = `!(${ignoredFiles.join(",")})*.{js,ts,jsx,tsx}`;

module.exports = {
[eslintPattern]: [buildEslintCommand],
"*.{js,jsx,ts,tsx}": [buildEslintCommand],
};
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
public/
.gitignore
.husky/
temp/
src/temp/stellar-xdr-web/
1 change: 1 addition & 0 deletions src/temp/stellar-xdr-web/stellar-xdr.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable */
let wasm;

const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
Expand Down

0 comments on commit 4c2b49a

Please sign in to comment.