diff --git a/.eslintrc.json b/.eslintrc.json index 217f649a..cc457e6a 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -11,5 +11,5 @@ "@typescript-eslint/no-explicit-any": "off", "import/named": "off" }, - "ignorePatterns": ["./src/temp/*"] + "ignorePatterns": ["./src/temp/stellar-xdr-web/*"] } diff --git a/.lintstagedrc.js b/.lintstagedrc.js index 411434eb..b559cfd8 100644 --- a/.lintstagedrc.js +++ b/.lintstagedrc.js @@ -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], }; diff --git a/.prettierignore b/.prettierignore index 7d72c84e..1149ded4 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,4 +2,4 @@ public/ .gitignore .husky/ -temp/ +src/temp/stellar-xdr-web/ diff --git a/src/temp/stellar-xdr-web/stellar-xdr.js b/src/temp/stellar-xdr-web/stellar-xdr.js index 0974ec69..b482fdac 100644 --- a/src/temp/stellar-xdr-web/stellar-xdr.js +++ b/src/temp/stellar-xdr-web/stellar-xdr.js @@ -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') } } );