generated from stacks-network/.github
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: upgrade packages and fix ts errors across the app
- Loading branch information
Showing
487 changed files
with
10,302 additions
and
12,645 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"root": true, | ||
"extends": [ | ||
"prettier", | ||
"plugin:@next/next/recommended", | ||
"plugin:react-hooks/recommended", | ||
"plugin:storybook/recommended" | ||
], | ||
"plugins": ["prettier", "@typescript-eslint", "react-hooks"], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaFeatures": { | ||
"jsx": true | ||
}, | ||
"sourceType": "module", | ||
"project": ["tsconfig.json"] | ||
}, | ||
"ignorePatterns": [ | ||
"node_modules/", | ||
"eslintrc.js", | ||
"**/*.test.ts", | ||
"**/*.test.tsx" | ||
], | ||
"rules": { | ||
"prettier/prettier": "error", | ||
"arrow-body-style": "off", | ||
"react/react-in-jsx-scope": "off", | ||
"import/prefer-default-export": "off", | ||
"react-hooks/rules-of-hooks": "error", | ||
"react-hooks/exhaustive-deps": "warn", | ||
"react/require-default-props": "off", | ||
"react/function-component-definition": "off", | ||
"no-promise-executor-return": "warn", | ||
"no-restricted-syntax": 0, | ||
"no-use-before-define": "off", | ||
"no-nested-ternary": "off", | ||
"no-await-in-loop": "off", | ||
"no-plusplus": "off", | ||
"prefer-destructuring": "warn", | ||
"no-unused-vars": "warn", | ||
"react/jsx-props-no-spreading": "off", | ||
"import/extensions": "off" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
#!/usr/bin/env sh | ||
npx --no -- commitlint --edit ${1} | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npx --no -- commitlint --edit $1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
enable-pre-post-scripts=true | ||
auto-install-peers=true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,3 @@ | ||
module.exports = { | ||
...require('@stacks/prettier-config'), | ||
importOrder: [ | ||
'^@stacks/(.*)$', | ||
'^@ui/(.*)$', | ||
'^@common/(.*)$', | ||
'^@components/(.*)$', | ||
'^@modules/(.*)$', | ||
'^[./]', | ||
], | ||
importOrderSeparation: true, | ||
importOrderSortSpecifiers: true, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.