Skip to content

Commit

Permalink
11
Browse files Browse the repository at this point in the history
  • Loading branch information
rlaaudrlf committed Jan 24, 2020
2 parents b46b59a + 312ee12 commit e4fa209
Show file tree
Hide file tree
Showing 91 changed files with 5,834 additions and 1,935 deletions.
345 changes: 345 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,345 @@
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"extends": [
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/@typescript-eslint"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "prettier","autofix", "sort-imports-es6-autofix"],
"parserOptions": {
"project": "./tsconfig.json",
"ecmaFeatures": {
"jsx": true
},
"useJSXTextNode": true
},
"rules": {
"autofix/no-debugger": "warn",
"@typescript-eslint/adjacent-overload-signatures": ["warn"],
// "@typescript-eslint/array-type": ["warn", "generic"],
"@typescript-eslint/ban-types": ["warn"],
"@typescript-eslint/ban-ts-ignore": ["warn"],
"@typescript-eslint/camelcase": ["warn"],
"@typescript-eslint/class-name-casing": ["warn"],
"@typescript-eslint/explicit-function-return-type": ["off"],
"@typescript-eslint/explicit-member-accessibility": ["off"],
"@typescript-eslint/generic-type-naming": ["warn"],
"@typescript-eslint/indent": ["warn", "tab"],
"@typescript-eslint/interface-name-prefix": ["warn", "always"],
"@typescript-eslint/member-delimiter-style": ["warn"],
"@typescript-eslint/member-naming": ["warn"],
"@typescript-eslint/member-ordering": ["off"],
"@typescript-eslint/no-angle-bracket-type-assertion": ["off"],
"@typescript-eslint/no-array-constructor": ["warn"],
"@typescript-eslint/no-ety-interface": ["off"],
"@typescript-eslint/no-explicit-any": ["off"],
"@typescript-eslint/no-extraneous-class": ["off"],
"@typescript-eslint/no-for-in-array": ["warn"],
"@typescript-eslint/no-inferrable-types": ["warn"],
"@typescript-eslint/no-misused-new": ["warn"],
"@typescript-eslint/no-namespace": ["warn"],
"@typescript-eslint/no-non-null-assertion": ["warn"],
"@typescript-eslint/no-object-literal-type-assertion": ["off"],
"@typescript-eslint/no-parameter-properties": ["off"],
"@typescript-eslint/no-require-imports": ["off"],
"@typescript-eslint/no-this-alias": ["warn"],
"@typescript-eslint/no-triple-slash-reference": ["off"],
"@typescript-eslint/no-type-alias": ["warn"],
"@typescript-eslint/no-unnecessary-qualifier": ["off"],
"@typescript-eslint/no-unnecessary-type-assertion": ["off"],
"@typescript-eslint/no-unused-vars": ["off"],
"@typescript-eslint/no-use-before-define": ["warn"],
"@typescript-eslint/no-useless-constructor": ["warn"],
"@typescript-eslint/no-var-requires": ["warn"],
"@typescript-eslint/prefer-function-type": ["warn"],
"@typescript-eslint/prefer-interface": ["off"],
"@typescript-eslint/prefer-namespace-keyword": ["warn"],
"@typescript-eslint/promise-function-async": ["off"],
"@typescript-eslint/restrict-plus-operands": ["off"],
"@typescript-eslint/type-annotation-spacing": ["off"],
"@typescript-eslint/unified-signatures": ["warn"],

"array-element-newline": "warn",
"arrow-spacing": "warn",
"block-spacing": "warn",
"capitalized-comments": ["warn", "never"],
"comma-dangle": "warn",
"comma-spacing": "warn",
"comma-style": "warn",
"dot-location": "warn",
"dot-notation": "warn",
"eol-last": ["warn", "never"],
"eqeqeq": "off",
"func-call-spacing": "warn",
"function-paren-newline": "warn",
"generator-star-spacing": "warn",
"implicit-arrow-linebreak": "warn",
"jsx-quotes": "warn",
"key-spacing": "warn",
"keyword-spacing": "warn",
"lines-around-comment": "warn",
"lines-around-directive": "warn",
"lines-between-class-members": ["warn", "always"],
"multiline-comment-style": "off",
"newline-after-var": "warn",
"no-confusing-arrow": "warn",
"no-else-return": "warn",
"no-extra-bind": "warn",
"no-extra-boolean-cast": "warn",
"no-extra-label": "warn",
"no-extra-parens": "off",
"no-extra-semi": "warn",
"no-floating-decimal": "warn",
"no-implicit-coercion": "warn",
"no-lonely-if": "off",
"no-multi-spaces": "warn",
"no-multiple-empty-lines": "warn",
"no-regex-spaces": "warn",
"no-spaced-func": "warn",
"no-trailing-spaces": "warn",
"no-undef-init": "warn",
"no-unneeded-ternary": "warn",
"no-unsafe-negation": "warn",
"no-unused-expressions": "warn",
"no-unused-labels": "warn",
"no-useless-computed-key": "warn",
"no-useless-rename": "warn",
"no-useless-return": "warn",
"no-whitespace-before-property": "warn",
"nonblock-statement-body-position": "warn",
"object-curly-newline": "warn",
"object-curly-spacing": "warn",
"object-property-newline": "warn",
"object-shorthand": "warn",
"one-var": ["warn", "never"],
"one-var-declaration-per-line": "warn",
"operator-assignment": "warn",
"semi": ["error", "always"],
"operator-linebreak": "warn",
"padded-blocks": ["warn", "never"],
"padding-line-between-statements": "warn",
"prefer-arrow-callback": "warn",
"prefer-destructuring": "warn",
"prefer-numeric-literals": "warn",
"prefer-spread": "warn",
"quote-props": ["warn", "as-needed"],
"quotes": "warn",
"rest-spread-spacing": "warn",
"semi-spacing": "warn",
"semi-style": "warn",
"sort-imports-es6-autofix/sort-imports-es6": [2, {
"ignoreCase": false,
"ignoreMemberSort": false,
"memberSyntaxSortOrder": ["none", "all", "multiple", "single"]
}],
"space-before-blocks": "warn",
"space-in-parens": "warn",
"space-infix-ops": "warn",
"space-unary-ops": "warn",
"spaced-comment": "warn",
"switch-colon-spacing": "warn",
"template-curly-spacing": "warn",
"template-tag-spacing": "warn",
"unicode-bom": "warn",
"valid-jsdoc": "warn",
"wrap-iife": "warn",
"wrap-regex": "warn",
"yield-star-spacing": "warn",
"yoda": "warn",
"computed-property-spacing": "warn",
"arrow-body-style": "warn",
"array-bracket-spacing": "warn",
"prefer-const": "warn",
"indent": ["warn", "tab"],
"curly": "warn",
"arrow-parens": "warn",
"linebreak-style": ["warn", "windows"],
"new-parens": "warn",
"newline-before-return": "warn",
"newline-per-chained-call": "warn",
"prefer-object-spread": "warn",
"prefer-template": "warn",
"space-before-function-paren": "warn",
"sort-vars": "warn",
"brace-style": ["error", "1tbs", { "allowSingleLine": false }],
"array-bracket-newline": "warn",
"strict": "off",
"no-var": "warn",
"function-call-argument-newline":"off",
"no-with": "off",
"symbol-description": "off",
"no-unreachable": "off",
"sort-keys": "warn",
"class-methods-use-this": "off",
"no-fallthrough": "off",
"no-multi-str": "off",
"no-undef": "off",
"init-declarations": "off",
"line-comment-position": "off",
"for-direction": "off",
"getter-return": "off",
"block-scoped-var": "off",
"callback-return": "off",
"no-empty-character-class": "off",
"no-empty-function": "off",
"no-func-assign": "off",
"no-global-assign": "off",
"no-unused-vars": "off",
"no-use-before-define": "off",
"no-useless-call": "off",
"prefer-promise-reject-errors": "off",
"prefer-reflect": "off",
"prefer-rest-params": "off",
"valid-typeof": "off",
"vars-on-top": "off",
"array-callback-return": "off",
"use-isnan": "off",
"radix": "off",
"func-name-matching": "off",
"func-names": "off",
"no-alert": "off",
"no-ex-assign": "off",
"multiline-ternary": "off",
"new-cap": "off",
"no-void": "off",
"no-warning-comments": "off",
"no-useless-concat": "off",
"no-useless-constructor": "off",
"no-useless-escape": "off",
"require-await": "off",
"require-jsdoc": "off",
"require-yield": "off",
"no-undefined": "off",
"no-underscore-dangle": "off",
"no-unexpected-multiline": "off",
"no-unmodified-loop-condition": "off",
"no-sync": "off",
"no-tabs": "off",
"no-template-curly-in-string": "off",
"no-ternary": "off",
"no-this-before-super": "off",
"no-throw-literal": "off",
"global-require": "off",
"guard-for-in": "off",
"handle-callback-err": "off",
"id-blacklist": "off",
"id-length": "off",
"id-match": "off",
"no-array-constructor": "off",
"no-await-in-loop": "off",
"no-buffer-constructor": "off",
"no-caller": "off",
"no-eq-null": "off",
"no-case-declarations": "off",
"no-catch-shadow": "off",
"no-class-assign": "off",
"no-compare-neg-zero": "off",
"no-cond-assign": "off",
"no-implicit-globals": "off",
"no-implied-eval": "off",
"no-inline-comments": "off",
"no-inner-declarations": "off",
"no-invalid-regexp": "off",
"no-loop-func": "off",
"no-mixed-operators": "off",
"no-mixed-requires": "off",
"no-mixed-spaces-and-tabs": "off",
"no-multi-assign": "off",
"no-iterator": "off",
"no-label-var": "off",
"no-labels": "off",
"no-lone-blocks": "off",
"no-empty": "off",
"no-magic-numbers": "off",
"no-duplicate-imports": "off",
"no-console": "off",
"no-native-reassign": "off",
"no-negated-condition": "off",
"no-negated-in-lhs": "off",
"no-nested-ternary": "off",
"complexity": "off",
"consistent-return": "off",
"consistent-this": "off",
"constructor-super": "off",
"default-case": "off",
"no-restricted-globals": "off",
"no-restricted-imports": "off",
"no-restricted-modules": "off",
"no-restricted-properties": "off",
"no-restricted-syntax": "off",
"no-return-assign": "off",
"no-script-url": "off",
"no-self-assign": "off",
"no-self-compare": "off",
"no-sequences": "off",
"no-shadow": "off",
"no-shadow-restricted-names": "off",
"no-const-assign": "off",
"no-constant-condition": "off",
"no-continue": "off",
"no-control-regex": "off",
"no-delete-var": "off",
"no-div-regex": "off",
"no-dupe-args": "off",
"no-dupe-class-members": "off",
"no-dupe-keys": "off",
"no-duplicate-case": "off",
"no-empty-pattern": "off",
"no-extend-native": "off",
"no-new": "off",
"no-new-func": "off",
"no-new-object": "off",
"no-new-require": "off",
"no-new-symbol": "off",
"no-new-wrappers": "off",
"no-obj-calls": "off",
"no-octal": "off",
"no-octal-escape": "off",
"no-param-reassign": "off",
"no-path-concat": "off",
"no-plusplus": "off",
"no-process-env": "off",
"no-process-exit": "off",
"no-proto": "off",
"no-prototype-builtins": "off",
"no-redeclare": "off",
"no-bitwise": "off",
"no-debugger": "off",
"no-eval": "off",
"no-invalid-this": "off",
"no-irregular-whitespace": "off",
"no-return-await": "off",
"no-sparse-arrays": "off",
"no-unsafe-finally": "off",
"accessor-pairs": "off",
"func-style": "off",
"camelcase": "off",
"max-depth": "off",
"max-len": [
"off",
{
"code": 150
}
],
"max-lines": "off",
"max-nested-callbacks": "off",
"max-params": "off",
"max-statements": ["off", 40],
"max-statements-per-line": [
"off",
{
"max": 40
}
]
}
}
Binary file added .vs/NodejsApp1/v16/.suo
Binary file not shown.
1 change: 1 addition & 0 deletions .vs/Supercharger/NodejsApp1/codemap.dat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<ProjectData xmlns="http://schemas.datacontract.org/2004/07/BG8.Supercharger.Features.CodeMap" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ProjectAllTimeMostUsedData xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/><ProjectExpandedStateData xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/><ProjectFavoriteData xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/><ProjectHistory2Data xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/><ProjectHistoryData xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/><ProjectInCodeHighlightData xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/><ProjectMiniViewData xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/><ProjectName>NodejsApp1</ProjectName></ProjectData>
1 change: 1 addition & 0 deletions .vs/Supercharger/NodejsApp1/global_history.dat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<ProjectData xmlns="http://schemas.datacontract.org/2004/07/BG8.Supercharger.Features.CodeMap.GlobalHistory" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ProjectGlobalHistoryData xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/><ProjectName>NodejsApp1</ProjectName></ProjectData>
1 change: 1 addition & 0 deletions .vs/Supercharger/NodejsApp1/workbench.dat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<ProjectData xmlns="http://schemas.datacontract.org/2004/07/BG8.Supercharger.Features.CodeMap.Gss" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><DataItems/><ProjectName>NodejsApp1</ProjectName></ProjectData>
Loading

0 comments on commit e4fa209

Please sign in to comment.