Skip to content

Instantly share code, notes, and snippets.

@glektarssza
Last active February 7, 2025 01:10
Show Gist options
  • Save glektarssza/63adc39bf4ec677f297a8bd053344b23 to your computer and use it in GitHub Desktop.
Save glektarssza/63adc39bf4ec677f297a8bd053344b23 to your computer and use it in GitHub Desktop.
Deno Configuration
{
"bench": {
"include": ["./bench/*.ts", "./bench/**/*.ts"]
},
"compilerOptions": {
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"exactOptionalPropertyTypes": true,
"noErrorTruncation": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"strict": true,
"strictBindCallApply": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
"strictPropertyInitialization": true,
"useUnknownInCatchVariables": true
},
"fmt": {
"include": [
"./bench/*.ts",
"./bench/**/*.ts",
"./src/*.ts",
"./src/**/*.ts",
"./tests/*.ts",
"./tests/**/*.ts"
],
"indentWidth": 4,
"lineWidth": 80,
"proseWrap": "always",
"semiColons": true,
"singleQuote": true,
"useTabs": false
},
"lint": {
"include": [
"./bench/*.ts",
"./bench/**/*.ts",
"./src/*.ts",
"./src/**/*.ts",
"./tests/*.ts",
"./tests/**/*.ts"
],
"report": "pretty",
"rules": {
"include": [
"adjacent-overload-signatures",
"ban-ts-comment",
"ban-types",
"ban-unknown-rule-code",
"ban-untagged-ignore",
"ban-unused-ignore",
"camelcase",
"constructor-super",
"default-param-last",
"eqeqeq",
"explicit-function-return-type",
"explicit-module-boundary-types",
"for-direction",
"getter-return",
"guard-for-in",
"no-array-constructor",
"no-async-promise-executor",
"no-await-in-loop",
"no-await-in-sync-fn",
"no-boolean-literal-for-arguments",
"no-case-declarations",
"no-class-assign",
"no-compare-neg-zero",
"no-cond-assign",
"no-const-assign",
"no-constant-condition",
"no-control-regex",
"no-debugger",
"no-delete-var",
"no-deprecated-deno-api",
"no-dupe-args",
"no-dupe-class-members",
"no-dupe-else-if",
"no-dupe-keys",
"no-empty",
"no-empty-character-class",
"no-empty-enum",
"no-empty-interface",
"no-empty-pattern",
"no-eval",
"no-ex-assign",
"no-explicit-any",
"no-extra-boolean-cast",
"no-extra-non-null-assertion",
"no-fallthrough",
"no-func-assign",
"no-global-assign",
"no-import-assertions",
"no-import-assign",
"no-inner-declarations",
"no-invalid-regexp",
"no-invalid-triple-slash-reference",
"no-irregular-whitespace",
"no-namespace",
"no-new-symbol",
"no-non-null-asserted-optional-chain",
"no-non-null-assertion",
"no-obj-calls",
"no-prototype-builtins",
"no-redeclare",
"no-regex-spaces",
"no-self-compare",
"no-setter-return",
"no-shadow-restricted-names",
"no-sparse-arrays",
"no-sync-fn-in-async-fn",
"no-this-alias",
"no-this-before-super",
"no-throw-literal",
"no-top-level-await",
"no-undef",
"no-unreachable",
"no-unsafe-finally",
"no-unsafe-negation",
"no-unused-labels",
"no-unused-vars",
"no-var",
"no-window",
"no-window-prefix",
"no-with",
"prefer-as-const",
"prefer-ascii",
"prefer-const",
"prefer-namespace-keyword",
"require-await",
"require-yield",
"single-var-declarator",
"use-isnan",
"valid-typeof",
"verbatim-module-syntax"
]
}
},
"lock": true,
"nodeModulesDir": "auto",
"tasks": {},
"test": {
"include": ["./tests/*.spec.ts", "./tests/**/*.spec.ts"]
},
"unstable": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment