Skip to content

Commit

Permalink
Interchain Refactor (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSaso authored Mar 5, 2024
1 parent 5c4fe4a commit d936d28
Show file tree
Hide file tree
Showing 37 changed files with 7,883 additions and 2,488 deletions.
64 changes: 64 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"extends": ["plugin:prettier/recommended"],
"ignorePatterns": ["node_modules", "dist"],
"parserOptions": {
"ecmaVersion": "latest"
},
"env": {
"es6": true
},
"overrides": [
{
"files": ["**/*.d.ts", "**/*.ts"],
"excludedFiles": ["**/node_modules/**", "**/dist/**"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "import", "unused-imports"],
"parserOptions": {
"project": "tsconfig.json"
},
"rules": {
"no-unused-vars": ["off"],
"eqeqeq": ["error"],
"@typescript-eslint/no-unused-vars": ["off"],
"import/order": [
"error",
{
"groups": ["builtin", "external", "internal"],
"newlines-between": "always",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
},
"pathGroups": [
{
"pattern": "@/**",
"group": "internal",
"position": "after"
}
]
}
],
"import/no-duplicates": "error",
"sort-imports": [
"error",
{
// Let eslint-plugin-import handle declaration groups above.
"ignoreDeclarationSort": true,
// Sort within import statements.
"ignoreMemberSort": false
}
],
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-vars": [
"warn",
{
"vars": "all",
"varsIgnorePattern": "^_",
"args": "after-used",
"argsIgnorePattern": "^_"
}
]
}
}
]
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,5 @@ dist

.wrangler
.dev.vars
.wrangler
wrangler.toml
10 changes: 10 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false,
"bracketSpacing": true,
"arrowParens": "always",
"printWidth": 80
}
Loading

0 comments on commit d936d28

Please sign in to comment.