Skip to content

Commit 53e20e5

Browse files
teebszetterencehh
andauthored
[ENG-4599] Tim/add send sip10 and reorganise (#162)
* feat: organise example app methods into routes * fix: encode arguments for send sip10 * chore: prettier * chore: add missing @stacks/transactions dep to example app * chore: port over stx sign transaction examples from old app * chore: add a _redirects file for netlify * fixes * fixes * fixes * fixes --------- Co-authored-by: Terence Ng <[email protected]>
1 parent 88107a5 commit 53e20e5

File tree

29 files changed

+1137
-402
lines changed

29 files changed

+1137
-402
lines changed

.prettierrc.json

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
2+
"plugins": ["prettier-plugin-organize-imports"],
3+
"organizeImportsSkipDestructiveCodeActions": true,
24
"arrowParens": "always",
35
"bracketSpacing": true,
46
"jsxBracketSameLine": false,

example/.eslintrc.cjs

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ module.exports = {
88
'plugin:react-hooks/recommended',
99
'plugin:react/recommended',
1010
'plugin:react/jsx-runtime',
11+
'prettier',
1112
],
1213
ignorePatterns: ['dist', '.eslintrc.cjs'],
1314
parser: '@typescript-eslint/parser',
@@ -17,7 +18,7 @@ module.exports = {
1718
project: ['./tsconfig.app.json', './tsconfig.node.json'],
1819
tsconfigRootDir: __dirname,
1920
},
20-
plugins: ['react-refresh'],
21+
plugins: ['react-refresh', 'prettier'],
2122
rules: {
2223
'react-refresh/only-export-components': ['warn', { allowConstantExport: true }],
2324
},

example/.prettierrc.json

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"plugins": ["prettier-plugin-organize-imports"],
3+
"organizeImportsSkipDestructiveCodeActions": true,
4+
"arrowParens": "always",
5+
"bracketSpacing": true,
6+
"jsxBracketSameLine": false,
7+
"jsxSingleQuote": false,
8+
"quoteProps": "as-needed",
9+
"singleQuote": true,
10+
"semi": true,
11+
"printWidth": 100,
12+
"useTabs": false,
13+
"tabWidth": 2,
14+
"trailingComma": "all"
15+
}

0 commit comments

Comments
 (0)