forked from voznik/streamlit-textcomplete
-
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
0 parents
commit 9847f7a
Showing
38 changed files
with
7,912 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Editor configuration, see http://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
max_line_length = off | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
node_modules | ||
!.commitlintrc.json | ||
**/package.json | ||
tools/scripts |
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,134 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/eslintrc.json", | ||
"root": true, | ||
"env": { | ||
"browser": true, | ||
"es2020": true, | ||
"node": true | ||
}, | ||
"extends": ["plugin:prettier/recommended"], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"project": "tsconfig.json", | ||
"sourceType": "module" | ||
}, | ||
"plugins": ["@nx", "jsdoc", "prettier", "@typescript-eslint", "import"], | ||
"overrides": [ | ||
{ | ||
"files": ["*.ts", "*.js"], | ||
"excludedFiles": [], | ||
"extends": [ | ||
"plugin:import/recommended", | ||
"plugin:import/typescript", | ||
"plugin:jsdoc/recommended" | ||
], | ||
"rules": { | ||
"no-prototype-builtins": 0, | ||
"curly": ["error", "all"], | ||
"jsdoc/newline-after-description": 0, | ||
"jsdoc/require-returns-type": 0, | ||
"jsdoc/require-returns-description": 0, | ||
"jsdoc/require-jsdoc": [ | ||
0, | ||
{ | ||
"contexts": [ | ||
"TSEnumDeclaration", | ||
"TSTypeAliasDeclaration", | ||
"TSInterfaceDeclaration", | ||
"TSDeclareFunction", | ||
"ClassDeclaration", | ||
"TSMethodSignature", | ||
"MethodDefinition:not([accessibility=\"private\"]) > FunctionExpression", | ||
"MethodDefinition[key.name!=\"constructor\"]", | ||
"TSPropertySignature", | ||
"ArrowFunctionExpression", | ||
"FunctionDeclaration", | ||
"ArrowFunctionDeclaration", | ||
"FunctionExpression" | ||
], | ||
"publicOnly": true, | ||
"enableFixer": false, | ||
"fixerMessage": " INFO: add comment", | ||
"checkSetters": false | ||
} | ||
], | ||
"jsdoc/check-param-names": [ | ||
2, | ||
{ | ||
"checkDestructured": false, | ||
"useDefaultObjectProperties": true | ||
} | ||
], | ||
"jsdoc/require-param": [ | ||
2, | ||
{ | ||
"checkDestructured": false, | ||
"checkDestructuredRoots": false, | ||
"enableRootFixer": false, | ||
"useDefaultObjectProperties": true | ||
} | ||
], | ||
"jsdoc/require-returns": 0, | ||
"jsdoc/no-defaults": 0, | ||
"jsdoc/require-param-type": 0, | ||
"jsdoc/require-param-description": 0, | ||
"jsdoc/require-example": [ | ||
"off", | ||
{ | ||
"avoidExampleOnConstructors": true | ||
} | ||
], | ||
"import/extensions": "off", | ||
"import/no-unresolved": "off", | ||
"import/named": "off", | ||
"import/newline-after-import": "error", | ||
"import/no-default-export": "error", | ||
"import/no-named-as-default": "off", | ||
"import/no-named-as-default-member": "off", | ||
"import/no-relative-parent-imports": "off", | ||
"import/order": [ | ||
"error", | ||
{ | ||
"alphabetize": { | ||
"order": "asc", | ||
"caseInsensitive": true | ||
}, | ||
"newlines-between": "never", | ||
"groups": ["builtin", "external", "internal", "parent", "sibling", "index"] | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"files": ["*.ts", "*.tsx"], | ||
"extends": ["plugin:@nx/typescript"], | ||
"rules": {} | ||
}, | ||
{ | ||
"files": ["*.js", "*.jsx"], | ||
"extends": ["plugin:@nx/javascript"], | ||
"rules": {} | ||
}, | ||
{ | ||
"files": ["*.spec.ts", "*.spec.tsx", "*.spec.js", "*.spec.jsx"], | ||
"env": { | ||
"jest": true | ||
}, | ||
"rules": { | ||
"jsdoc/require-jsdoc": 0, | ||
"@nrwl/nx/enforce-module-boundaries": 0, | ||
"@typescript-eslint/no-empty-function": 0, | ||
"@typescript-eslint/no-non-null-assertion": 0, | ||
"@typescript-eslint/member-ordering": 0, | ||
"@angular-eslint/component-selector": 0, | ||
"@typescript-eslint/no-explicit-any": 0 | ||
} | ||
} | ||
], | ||
"settings": { | ||
"jsdoc": { | ||
"ignoreInternal": true, | ||
"checkDefaults": 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# See http://help.github.com/ignore-files/ for more about ignoring files. | ||
|
||
# compiled output | ||
/dist | ||
/docs | ||
/documentation | ||
/public | ||
/tmp | ||
/out-tsc | ||
**/build | ||
|
||
# dependencies | ||
/node_modules | ||
|
||
# IDEs and editors | ||
/.idea | ||
.project | ||
.classpath | ||
.c9/ | ||
*.launch | ||
.settings/ | ||
*.sublime-workspace | ||
|
||
# IDE - VSCode | ||
.vscode/* | ||
!.vscode/settings.json | ||
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
!.vscode/extensions.json | ||
|
||
# misc | ||
.cache | ||
/.sass-cache | ||
/connect.lock | ||
/coverage | ||
/libpeerconnection.log | ||
npm-debug.log | ||
yarn-error.log | ||
testem.log | ||
/typings | ||
*.bak | ||
.env | ||
junit.xml | ||
|
||
# System Files | ||
.DS_Store | ||
Thumbs.db | ||
|
||
.nx/cache |
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 @@ | ||
{ | ||
"*.{ts,js}": ["eslint --fix", "git add"], | ||
"*.{html,css,scss,md,yml}": ["prettier --write", "git add"] | ||
} |
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,11 @@ | ||
.idea | ||
.vscode | ||
docs | ||
node_modules | ||
src/ | ||
tests/ | ||
**/*.ts | ||
|
||
typings.d.ts | ||
tslint.json | ||
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Add files here to ignore them from prettier formatting | ||
|
||
/dist | ||
/coverage | ||
|
||
/.nx/cache | ||
.angular | ||
**/index.html |
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,12 @@ | ||
{ | ||
"printWidth": 92, | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"semi": true, | ||
"singleQuote": true, | ||
"trailingComma": "es5", | ||
"bracketSpacing": true, | ||
"arrowParens": "avoid", | ||
"htmlWhitespaceSensitivity": "ignore", | ||
"jsxBracketSameLine": 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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"extends": [ | ||
"config:base", | ||
"group:all", | ||
"monorepo:angular", | ||
"schedule:monthly", | ||
":maintainLockFilesMonthly" | ||
], | ||
"ignoreDeps": [ | ||
"typescript", | ||
"semantic-release", | ||
"@semantic-release/git", | ||
"@semantic-release/changelog" | ||
], | ||
"pinVersions": false, | ||
"separatePatchReleases": false, | ||
"ignoreUnstable": true, | ||
"automerge": true, | ||
"automergeType": "branch-push", | ||
"lockFileMaintenance": { | ||
"enabled": true | ||
}, | ||
"peerDependencies": { | ||
"versionStrategy": "widen" | ||
}, | ||
"packageRules": [ | ||
{ | ||
"sourceUrlPrefixes": ["https://github.com/babel/babel"], | ||
"groupName": "babel monorepo" | ||
}, | ||
{ | ||
"packagePatterns": ["^eslint"], | ||
"groupName": "eslint" | ||
}, | ||
{ | ||
"packagePatterns": ["jest"], | ||
"groupName": "jest" | ||
} | ||
] | ||
} |
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,12 @@ | ||
[server] | ||
headless = true | ||
runOnSave = true | ||
allowRunOnSave = true | ||
# fastReruns = true | ||
fileWatcherType = "auto" | ||
|
||
[browser] | ||
gatherUsageStats = false | ||
|
||
[logger] | ||
level = "info" |
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,46 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
// | ||
{ | ||
"type": "chrome", | ||
"request": "attach", | ||
"name": "Attach to Chrome", | ||
"port": 9222, | ||
"sourceMaps": true, | ||
"webRoot": "${workspaceRoot}" | ||
}, | ||
{ | ||
"name": "Python: Debug Test", | ||
"type": "debugpy", | ||
"request": "launch", | ||
"module": "pytest", | ||
"args": [ | ||
"${file}" | ||
], | ||
"env": { | ||
"PYTHONPATH": "${workspaceFolder}" | ||
}, | ||
"console": "integratedTerminal" | ||
}, | ||
{ | ||
"name": "Python: Debug Streamlit", | ||
"type": "debugpy", | ||
"request": "launch", | ||
"module": "streamlit", | ||
"args": [ | ||
"run", | ||
"${file}", | ||
"--server.headless=true", | ||
"--browser.gatherUsageStats=false" | ||
], | ||
"env": { | ||
"PYTHONPATH": "${workspaceFolder}" | ||
}, | ||
"console": "integratedTerminal" | ||
} | ||
] | ||
} |
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,24 @@ | ||
{ | ||
"[javascript]": { | ||
"editor.defaultFormatter": "vscode.typescript-language-features", | ||
"editor.formatOnSave": true, | ||
"editor.quickSuggestions": { | ||
"other": false | ||
} | ||
}, | ||
"search.showLineNumbers": true, | ||
"debug.allowBreakpointsEverywhere": true, | ||
"workbench.colorCustomizations": { | ||
"statusBar.background": "#8d2089", | ||
"statusBar.foreground": "#e7e7e7", | ||
"statusBarItem.hoverBackground": "#b729b1", | ||
"sash.hoverBorder": "#b729b1", | ||
"statusBarItem.remoteBackground": "#8d2089", | ||
"statusBarItem.remoteForeground": "#e7e7e7" | ||
}, | ||
"peacock.color": "#8d2089", | ||
"python.defaultInterpreterPath": "/home/voznik/.cache/pypoetry/virtualenvs/streamlit-rxdb-dataframe-zuiqvGqO-py3.10", | ||
"flake8.args": ["--max-line-length=100"], | ||
"flake8.importStrategy": "fromEnvironment", | ||
"black-formatter.args": ["--line-length=100"] | ||
} |
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,12 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"type": "eslint", | ||
"problemMatcher": ["$eslint-stylish"], | ||
"label": "eslint: lint whole folder", | ||
"isBackground": true | ||
// "runOptions": { "runOn": "folderOpen" } | ||
} | ||
] | ||
} |
Oops, something went wrong.