Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitarTAtanasov committed Nov 15, 2024
0 parents commit 05644c2
Show file tree
Hide file tree
Showing 379 changed files with 38,940 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
VITE_GITHUB_API_URL=
VITE_GITHUB_CLIENT_ID=
VITE_SERVER_URL=

VITE_FIREBASE_API_KEY=
VITE_FIREBASE_AUTH_DOMAIN=
VITE_FIREBASE_PROJECT_ID=
VITE_FIREBASE_STORAGE_BUCKET=
VITE_FIREBASE_MESSAGING_SENDER_ID=
VITE_FIREBASE_APP_ID=
VITE_FIREBASE_MEASUREMENT_ID=
339 changes: 339 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,339 @@
{
"env": {
"browser": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"plugin:tailwindcss/recommended"
],
"ignorePatterns": [
"setupTests.ts",
"serviceWorker.ts",
"node_modules/**",
"coverage/**",
"dist",
"**/*.js",
"**/*.json",
"src/constants/snippets/*.tsx"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "module",
"project": "./tsconfig.json",
"ecmaVersion": 2020,
"ecmaFeatures": {
"modules": true,
"jsx": true
}
},
"plugins": [
"@typescript-eslint",
"@stylistic",
"@stylistic/jsx",
"eslint-plugin-react",
"eslint-plugin-prefer-arrow",
"filenames",
"import",
"import-newlines",
"unused-imports",
"react",
"react-hooks"
],
"rules": {
"@stylistic/array-bracket-newline": [
"error",
{
"multiline": true
}
],
"@stylistic/array-element-newline": "error",
"@stylistic/arrow-parens": [
"error",
"always"
],
"@stylistic/no-mixed-operators": "error",
"@stylistic/jsx/jsx-one-expression-per-line": [
"error",
{
"allow": "single-child"
}
],
"@stylistic/jsx/jsx-child-element-spacing": "error",
"@stylistic/jsx/jsx-sort-props": [
"error",
{
"callbacksLast": false,
"shorthandLast": true,
"multiline": "last",
"ignoreCase": true,
"noSortAlphabetically": false,
"reservedFirst": true
}
],
"@stylistic/multiline-ternary": [
"error",
"always-multiline"
],
"@stylistic/jsx/jsx-closing-bracket-location": [
1,
"line-aligned"
],
"@stylistic/jsx/jsx-closing-tag-location": "error",
"@stylistic/jsx/jsx-first-prop-new-line": [
"error",
"multiline-multiprop"
],
"@stylistic/jsx/jsx-max-props-per-line": [
"error",
{
"maximum": 1,
"when": "always"
}
],
"@stylistic/jsx/jsx-wrap-multilines": [
"error",
{
"declaration": "parens-new-line",
"assignment": "parens-new-line",
"return": "parens-new-line",
"arrow": "parens-new-line",
"condition": "parens-new-line",
"logical": "parens-new-line",
"prop": "parens-new-line"
}
],
"@stylistic/indent": [
"error",
2,
{
"SwitchCase": 1
}
],
"@stylistic/array-bracket-spacing": [
"error",
"never"
],
"@stylistic/arrow-spacing": "error",
"@stylistic/brace-style": [
"error",
"1tbs",
{
"allowSingleLine": false
}
],
"@stylistic/comma-dangle": [
"error",
"always-multiline"
],
"@stylistic/comma-spacing": "error",
"@stylistic/comma-style": "error",
"@stylistic/dot-location": [
"error",
"property"
],
"@stylistic/member-delimiter-style": "error",
"@stylistic/semi": "error",
"@stylistic/key-spacing": [
"error",
{
"afterColon": true,
"beforeColon": false,
"mode": "strict"
}
],
"@stylistic/keyword-spacing": "error",
"@stylistic/semi-spacing": "error",
"@stylistic/space-in-parens": [
"error",
"never"
],
"@stylistic/space-infix-ops": "error",
"@stylistic/no-multiple-empty-lines": [
"error",
{
"max": 1,
"maxBOF": 0,
"maxEOF": 1
}
],
"@stylistic/no-whitespace-before-property": "error",
"@stylistic/object-curly-spacing": [
"error",
"always"
],
"@stylistic/operator-linebreak": [
"error",
"before",
{
"overrides": {
"+=": "ignore",
"+": "ignore",
"=": "ignore"
}
}
],
"filenames/match-regex": [
"error",
"^[a-z][a-zA-Z0-9_.-]*$",
{
"ignoreExtensions": true,
"caseSensitive": true
}
],
"jsx-quotes": [
"error",
"prefer-double"
],
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "error",
"react/jsx-boolean-value": "error",
"react/jsx-key": "error",
"react/jsx-no-bind": "error",
"react/jsx-no-duplicate-props": "error",
"react/self-closing-comp": "error",
"react/no-danger-with-children": "error",
"@typescript-eslint/consistent-type-imports": "error",
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/no-empty-object-type": "off",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-unused-vars": "error",
"import-newlines/enforce": [
"error",
{
"items": 1,
"semi": false
}
],
"unused-imports/no-unused-imports": "error",
"import/order": [
"error",
{
"groups": [
"builtin",
"external",
"internal",
"unknown",
"parent",
"sibling",
"index",
"object",
"type"
],
"pathGroups": [
{
"pattern": "@/**",
"group": "internal",
"position": "after"
}
],
"pathGroupsExcludedImportTypes": [
"builtin"
],
"newlines-between": "always",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
],
"import/no-unresolved": [
"error",
{
"ignore": [
"^virtual:"
]
}
],
"no-unneeded-ternary": "error",
"no-extra-boolean-cast": "off",
"no-prototype-builtins": "off",
"no-unused-vars": [
"error",
{
"ignoreRestSiblings": true,
"argsIgnorePattern": "^_",
"destructuredArrayIgnorePattern": "[A-Z]",
"caughtErrors": "none"
}
],
"no-restricted-imports": [
"error",
{
"paths": [
{
"name": "react",
"importNames": [
"MouseEvent"
],
"message": "Please do not import MouseEvent from react. Use React.MouseEvent instead."
}
]
}
],
"no-duplicate-case": "error",
"no-param-reassign": "error",
"no-unreachable-loop": "error",
"object-shorthand": "error",
"prefer-arrow/prefer-arrow-functions": [
"warn",
{
"disallowPrototype": true,
"singleReturnOnly": false,
"classPropertiesAllowed": false
}
],
"semi": "off",
"sort-imports": [
"error",
{
"ignoreCase": true,
"ignoreDeclarationSort": true
}
],
"tailwindcss/no-custom-classname": "off",
"tailwindcss/classnames-order": [
"warn",
{
"callees": [
"cn"
],
"officialSorting": true,
"removeDuplicates": true,
"configPath": "tailwind.config"
}
],
"quotes": [
"error",
"single",
{
"allowTemplateLiterals": true
}
]
},
"settings": {
"import/parsers": {
"@typescript-eslint/parser": [
".js",
".jsx",
".ts",
".tsx",
".txt"
]
},
"import/resolver": {
"typescript": {
"project": [
"./tsconfig.json"
]
}
}
}
}
23 changes: 23 additions & 0 deletions .firebase/hosting.ZGlzdA.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
sw.js,1719829415910,18d15cbb69db63293d56a9858325038795719cb613c03194199a7a6790e2ad16
workbox-c974b4b1.js,1719829415911,e921e00e29a6c1fe6dc41afce8a10f90a6ada0c1dfff290c32bdf3fdffc7995b
assets/index-87wxREyR.css,1719829414548,8a8e183182ba2c7bf9df060e4a5a8de8e9d6d24e3d2786c4d3e85e3a95befb99
assets/index-AsQwsgGC.js,1719829414548,4484f4b13b29d9333f22b5bca350f9f20010647ddd2f132d2c73ce54f1e8a972
assets/index-CZnrlwFb.js,1719829414548,64f5152d1a89c851036aeb3f45bbc97a2b32035604b04980a766934a37ef7f56
assets/polkadot-api-CWvScKJC.js,1719829414548,2d9b7df7cc25dd79a0f1956c023fdc2a32128e06b3fd35e2337b40af89abbe83
assets/radix-CQntK8qO.js,1719829414548,3fa96be4d9ee9d68a9f86c19d6bf8c5c569a29c3fdb4e30289fef4231c1b6ea8
assets/tailwind-BJIgvTWw.js,1719829414548,8f3a191a2a4f35902a90cc865f83ea78d5cf7b881b59efa971bd183f73a393f1
manifest.webmanifest,1719829414550,4e8673067cefe0e9c9cc01152b6f42d48470adcb8a4916114b78fc91df4bf679
index.html,1719829414548,4ea8b86fb8547603e4a730e85a23a18323af7424e66c0e70f53f4a7d247aad22
assets/monaco-editor-DyQrAAdL.css,1719829414548,01029e60feacd811e38e27feb426de84eb88fefb81903d3826696b892550820a
assets/codicon-DCmgc-ay.ttf,1719829414548,d9a4933ea3c3abd3064c3817977fd8ab7aa8c2acf2a3000737058bbdb9c94269
assets/react-DXl-5Yll.js,1719829414548,a2b6f599342d40418cfbec79ccb731264880b83664c152ae7e79d566620e069d
assets/sucrase-OHLtJLtb.js,1719829414548,55bfcee204d990338ede076c02dbc2c4a366da375eb398bd35701b06564fd2ec
assets/editor.worker-CJ4CVGtl.js,1719829414548,4cb44efe218f94ef95cd4da5cc754ab3b6168c8e6f6e8204e85393ecd447de08
assets/vendor-DPiHu8QI.js,1719829414548,2a494aacac10bf7aa43b375a6c8e04ebfcb32403c762018de49ee1c8a212d3ff
assets/json.worker-C3ltIK0b.js,1719829414548,77431f2205b867fee8aba350952d42e89dcff8c40fcc472425b9870fd56d59e3
assets/html.worker-C17He37M.js,1719829414549,133b1f39c608be0eb6fdca7019190f11f2ddb1d2112b04c1e56577ee4fde1bd4
assets/css.worker-DF3NBdph.js,1719829414549,4ae5ce6bbd82fa2d90f31d5ae3860eaac36b65b6b7ade42ba697d5148b12b8fa
assets/prettier-Dcs4mPvA.js,1719829414550,612d29d8bd1f8f9049975a5ef55a8cf8cc6e78a46e323039477327ca2206dab7
assets/@polkadot-CuOCAOz5.js,1719829414550,4eb7424ba51f95a4b5d5a1886b46e72d2d11504b756bd1720a2a0e94bc1a2cf9
assets/monaco-editor-Dx5u-cne.js,1719829414550,577843e24b00d834c580154fb5155674148635d1d7aaa40d2e937ba6acfb0143
assets/ts.worker-Dh-MYIKX.js,1719829414551,e664c37707eaa73d31d5451c450ac6777811844df8fef2154d420cbe38755b60
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "polkadot-js-dev"
}
}
Loading

0 comments on commit 05644c2

Please sign in to comment.