Skip to content

Commit

Permalink
@reliverse/prompts → @reliverse/relinka
Browse files Browse the repository at this point in the history
  • Loading branch information
blefnk committed Nov 24, 2024
1 parent a036667 commit c0709a7
Show file tree
Hide file tree
Showing 23 changed files with 1,583 additions and 141 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
dist/
output/
.DS_Store
.eslintcache
node_modules/
Expand Down
316 changes: 316 additions & 0 deletions .putout.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,316 @@
{
"parser": "babel",
"printer": "putout",
"formatter": [
"progress-bar",
{
"minCount": 10
}
],
"processors": [
"javascript",
"json",
"markdown",
"ignore",
"yaml",
"css",
"filesystem"
],
"match": {
"*.{mjs,ts,tsx,mts}": {
"nodejs/remove-useless-strict-mode": "on",
"nodejs/add-missing-strict-mode": "off"
},
"*.{jsx,js,cjs}": {
"nodejs/add-missing-strict-mode": "on",
"nodejs/remove-useless-strict-mode": "on"
},
"{.,}putout.json": {
"putout-config": "on"
},
".madrun.{js,cjs,mjs}": {
"madrun": "on"
},
"setupTests.*": {
"remove-empty/import": "off"
},
".filesystem.json": {
"filesystem": "on",
"nodejs/cjs-file": "on",
"nodejs/mjs-file": "on",
"nodejs/rename-file-cjs-to-js": "on",
"nodejs/rename-file-mjs-to-js": "on",
"package-json/find-file": "on",
"package-json/remove-exports-with-missing-files": "on",
"typescript/find-file": "on",
"typescript/cts-file": "on",
"typescript/mts-file": "on",
"typescript/rename-file-cts-to-ts": "on",
"typescript/rename-file-mts-to-ts": "on",
"putout-config/remove-empty-file": "on"
},
"*.md": {
"convert-assignment-to-declaration": "off",
"conditions/apply-consistent-blocks": "off",
"conditions/convert-comparison-to-boolean": "off",
"conditions/remove-constant": "off",
"maybe": "off",
"convert-quotes-to-backticks": "off",
"remove-unused-expressions": "off",
"remove-unused-variables": "off",
"labels/remove-unused": "off",
"remove-useless-escape": "off",
"remove-useless-variables": "off",
"remove-useless-push": "off",
"remove-useless-return": "off",
"remove-empty": "off",
"for-of/remove-unused-variables": "off",
"remove-console": "off",
"remove-unreachable-code": "off",
"declare": "off",
"nodejs/declare": "off",
"typescript/remove-unused-types": "off",
"remove-nested-blocks": "off"
},
"*.svelte": {
"remove-unused-variables": "off"
},
"{*rc,*.{json,yml}}": {
"convert-quotes-to-backticks": "off",
"remove-useless-escape": "off",
"math/apply-numeric-separators": "off"
},
".github/**/*.yml": {
"github": "on",
"github/set-node-versions": [
"on",
{
"versions": ["18.x", "20.x", "22.x", "23.x"]
}
],
"remove-useless-escape": "off"
},
".gitignore": {
"gitignore": "on"
},
".npmignore": {
"npmignore": "on"
},
".{nyc,c8}rc.json": {
"coverage": "on"
},
".*ignore": {
"convert-quotes-to-backticks": "off"
},
"webpack.config.js": {
"webpack": "on"
},
"browserlist": {
".browserlistrc": "on"
},
".eslintrc{*,.json}": {
"eslint": "on",
"eslint/convert-require-to-import": "off",
"eslint/apply-match-to-flat": "off"
},
"eslint.config.*": {
"eslint": "on",
"putout/convert-match-to-function": "off"
},
"package.json": {
"package-json": "on"
},
"bin": {
"nodejs/remove-process-exit": "off",
"nodejs/convert-top-level-return": "on",
"remove-console": "off",
"remove-empty/import": "off"
},
"output": {
"nodejs/remove-process-exit": "off",
"nodejs/convert-top-level-return": "on",
"remove-console": "off",
"remove-empty/import": "off",
"nodejs/declare": "off"
},
"{test,*.spec.{js,mjs,cjs}}": {
"tape": "on"
},
"*.mjs": {
"nodejs/convert-commonjs-to-esm": "on",
"tape/convert-mock-require-to-mock-import": "on"
},
"*.mts": {
"typescript/convert-commonjs-to-esm": "on"
},
"*.cts": {
"typescript/convert-esm-to-commonjs": "on"
},
"*.cjs": {
"nodejs/convert-esm-to-commonjs": "on"
},
"*.{ts,tsx,mts,cts,md{ts},md{tsx}}": {
"typescript": "on"
},
"*.d.ts": {
"declare": "off"
}
},
"ignore": [
"**/node_modules",
"**/fixture",
"**/.nyc_output",
"**/.yarn",
"**/yarn.lock",
"**/yarn-error.log",
"**/*.gif",
"**/*.png",
"**/*.jpeg",
"**/.pnp.*",
"**/coverage",
"**/dist",
"**/dist-dev",
"**/build",
"**/package-lock.json",
"**/.idea",
"**/.git",
"**/.venv",
"**/addons",
"**/examples",
"**/public",
"**/src",
"**/biome.jsonc",
"**/build.config.ts",
"**/build.optim.ts",
"**/bun.lockb",
"**/eslint.config.js",
"**/knip.jsonc",
"**/vitest.config.ts",
"**/*.d.ts"
],
"rules": {
"coverage": "off",
"typescript": "off",
"nodejs/convert-esm-to-commonjs": "off",
"nodejs/convert-commonjs-to-esm": "off",
"convert-optional-to-logical/call": "off",
"nodejs/convert-top-level-return": "off",
"putout": "off",
"putout-config": "off",
"eslint": "off",
"package-json": "off",
"madrun": "off",
"webpack": "off",
"gitignore": "off",
"npmignore": "off",
"github": "off",
"tape": "off",
"nodejs/add-missing-strict-mode": "off",
"nodejs/remove-useless-strict-mode": "off",
"browserlist": "off",
"filesystem": "off",
"conditions/apply-consistent-blocks": "off"
},
"plugins": [
"apply-at",
"apply-dot-notation",
"apply-early-return",
"apply-flat-map",
"apply-destructuring",
"apply-optional-chaining",
"apply-starts-with",
"apply-template-literals",
"apply-overrides",
"extract-object-properties",
"extract-sequence-expressions",
"group-imports-by-source",
"madrun",
"maybe",
"webpack",
"eslint",
"package-json",
"remove-debugger",
"remove-iife",
"remove-console",
"remove-empty",
"remove-unreferenced-variables",
"remove-unused-variables",
"remove-unused-private-fields",
"remove-unused-expressions",
"remove-useless-assign",
"remove-useless-replace",
"remove-useless-variables",
"remove-useless-push",
"remove-useless-map",
"remove-useless-constructor",
"remove-useless-array",
"remove-useless-array-constructor",
"remove-useless-array-entries",
"remove-useless-continue",
"remove-useless-delete",
"remove-useless-operand",
"remove-useless-arguments",
"remove-useless-escape",
"remove-useless-spread",
"remove-useless-return",
"remove-useless-functions",
"remove-useless-template-expressions",
"remove-duplicate-case",
"remove-nested-blocks",
"remove-unreachable-code",
"remove-duplicate-keys",
"remove-quotes-from-import-assertions",
"reuse-duplicate-init",
"split-assignment-expressions",
"split-variable-declarations",
"split-nested-destructuring",
"simplify-assignment",
"simplify-boolean-return",
"simplify-ternary",
"sort-imports-by-specifiers",
"convert-const-to-let",
"convert-assignment-to-declaration",
"convert-apply-to-spread",
"convert-concat-to-flat",
"convert-arguments-to-rest",
"convert-object-assign-to-merge-spread",
"convert-optional-to-logical",
"convert-to-arrow-function",
"convert-array-copy-to-slice",
"convert-template-to-string",
"convert-index-of-to-includes",
"convert-assignment-to-arrow-function",
"convert-assignment-to-comparison",
"convert-quotes-to-backticks",
"convert-object-entries-to-array-entries",
"merge-destructuring-properties",
"merge-duplicate-imports",
"merge-duplicate-functions",
"declare-imports-first",
"declare-before-reference",
"declare",
"labels",
"math",
"putout",
"putout-config",
"generators",
"promises",
"typescript",
"coverage",
"gitignore",
"npmignore",
"browserlist",
"regexp",
"github",
"tape",
"try-catch",
"nodejs",
"montag",
"new",
"logical-expressions",
"types",
"conditions",
"for-of",
"filesystem"
]
}
14 changes: 13 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,17 @@
"source.fixAll.eslint": "explicit",
"source.organizeImports": "never",
"source.removeUnused": "never"
}
},
"eslint.rules.customizations": [
{
"rule": "perfectionist/sort-imports",
"severity": "off"
}
],
"openMultipleFiles.limit": 700,
"markdownlint.config": {
"MD033": false
},
"typescript.tsdk": "node_modules\\typescript\\lib",
"eslint.ignoreUntitled": true
}
Loading

0 comments on commit c0709a7

Please sign in to comment.