-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
84dc495
commit 63c723d
Showing
63 changed files
with
2,206 additions
and
989 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 2 | ||
trim_trailing_whitespace = true | ||
quote_type = single | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,5 @@ dist-ssr | |
server/dist | ||
public/dist | ||
.turbo | ||
|
||
test |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,4 @@ | ||
module.exports = { | ||
root: true, | ||
extends: ['@hanabira/config/eslint'], | ||
}; |
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
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
packages/acme-utils/tsconfig.json → packages/auth/tsconfig.json
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,5 +1,5 @@ | ||
{ | ||
"extends": "@acme/tsconfig/react-library.json", | ||
"extends": "@hanabira/config/tsconfig/react-library.json", | ||
"include": ["."], | ||
"exclude": ["dist", "build", "node_modules"] | ||
} |
File renamed without changes.
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,96 @@ | ||
module.exports = { | ||
extends: ['next', 'eslint:recommended', 'turbo', 'prettier'], | ||
plugins: [ | ||
'@typescript-eslint', | ||
'tailwindcss', | ||
'simple-import-sort', | ||
'prettier', | ||
], | ||
settings: { | ||
tailwindcss: { | ||
callees: ['classNames'], | ||
officialSorting: true, | ||
}, | ||
next: { | ||
rootDir: ['apps/*/', 'packages/*/'], | ||
}, | ||
}, | ||
rules: { | ||
'@next/next/no-html-link-for-pages': 'off', | ||
'react/jsx-key': 'error', | ||
'react/react-in-jsx-scope': 'off', | ||
'prefer-const': 'error', | ||
'no-console': 1, | ||
'no-multi-spaces': 'error', | ||
'no-multiple-empty-lines': 'error', | ||
'no-unused-vars': 'off', | ||
'@typescript-eslint/no-unused-vars': 'error', | ||
'no-param-reassign': [ | ||
'error', | ||
{ | ||
props: false, | ||
}, | ||
], | ||
'no-use-before-define': 'error', | ||
'max-depth': ['error', 5], | ||
'max-nested-callbacks': ['error', 4], | ||
'max-len': [ | ||
'error', | ||
{ | ||
code: 100, | ||
ignoreUrls: true, | ||
ignoreStrings: true, | ||
ignoreTemplateLiterals: true, | ||
ignoreRegExpLiterals: true, | ||
}, | ||
], | ||
'prettier/prettier': 'error', | ||
'react/jsx-filename-extension': [ | ||
1, | ||
{ | ||
extensions: ['.ts', '.tsx'], | ||
}, | ||
], | ||
'react/no-danger': 0, | ||
'react/prop-types': 0, | ||
'react-hooks/rules-of-hooks': 'error', | ||
'react-hooks/exhaustive-deps': 'error', | ||
'react/self-closing-comp': [ | ||
'error', | ||
{ | ||
component: true, | ||
html: true, | ||
}, | ||
], | ||
'react/jsx-curly-brace-presence': [ | ||
'error', | ||
{ | ||
props: 'never', | ||
children: 'never', | ||
}, | ||
], | ||
'space-in-parens': 'error', | ||
'simple-import-sort/imports': 'error', | ||
'simple-import-sort/exports': 'error', | ||
'react/jsx-sort-props': [ | ||
2, | ||
{ | ||
shorthandFirst: true, | ||
multiline: 'last', | ||
reservedFirst: ['key'], | ||
callbacksLast: true, | ||
}, | ||
], | ||
'tailwindcss/classnames-order': 'off', | ||
'tailwindcss/no-custom-classname': 'off', | ||
'tailwindcss/no-contradicting-classname': 'error', | ||
}, | ||
overrides: [ | ||
{ | ||
files: ['*.test.ts', '*.test.tsx'], | ||
rules: { | ||
'max-nested-callbacks': ['error', 5], | ||
}, | ||
}, | ||
], | ||
}; |
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,23 @@ | ||
{ | ||
"name": "@hanabira/config", | ||
"version": "0.0.0", | ||
"files": [ | ||
"eslint", | ||
"tsconfig" | ||
], | ||
"scripts": { | ||
"build": "mkdir dist && cp -R tsconfig dist && cp -R eslint dist && cp next.config.js dist", | ||
"release": "pnpm publish" | ||
}, | ||
"dependencies": { | ||
"@changesets/cli": "^2.26.2", | ||
"next": "^13.4.12" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^18.11.17", | ||
"tsup": "^6.1.3" | ||
}, | ||
"publishConfig": { | ||
"registry": "https://npm.pkg.github.com/" | ||
} | ||
} |
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
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 was deleted.
Oops, something went wrong.
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,4 @@ | ||
module.exports = { | ||
root: true, | ||
extends: ['@hanabira/config/eslint'], | ||
}; |
Oops, something went wrong.