Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 3c070a4

Browse files
authored
token-swap-js: Upgrade spl-token JS dependency (#4205)
1 parent 8f7ef32 commit 3c070a4

File tree

11 files changed

+1199
-588
lines changed

11 files changed

+1199
-588
lines changed

token-swap/js/.eslintrc.js

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ module.exports = {
1111
'plugin:import/errors',
1212
'plugin:import/warnings',
1313
],
14-
parserOptions: {
15-
sourceType: 'module',
16-
ecmaVersion: 8,
17-
},
14+
parser: '@typescript-eslint/parser',
15+
parserOptions: { project: ['./tsconfig.json'] },
16+
plugins: [
17+
'@typescript-eslint'
18+
],
1819
rules: {
1920
'no-trailing-spaces': ['error'],
2021
'import/first': ['error'],
@@ -47,9 +48,4 @@ module.exports = {
4748
'require-await': ['error'],
4849
semi: ['error', 'always'],
4950
},
50-
settings: {
51-
react: {
52-
version: 'detect',
53-
},
54-
},
5551
};

token-swap/js/.prettierrc.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
arrowParens: "avoid"
22
bracketSpacing: false
3-
jsxBracketSameLine: false
43
semi: true
54
singleQuote: true
65
tabWidth: 2

0 commit comments

Comments
 (0)