Skip to content

Commit

Permalink
Merge branch 'release/12.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
colin969 committed Jul 12, 2023
2 parents 0289b4d + 721053d commit 27eced0
Show file tree
Hide file tree
Showing 328 changed files with 48,590 additions and 24,271 deletions.
28 changes: 28 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node
{
"name": "Node.js",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-18-bullseye",
"features": {
"ghcr.io/devcontainers/features/rust:1": {
"version": "latest",
"profile": "minimal"
}
}

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "yarn install",

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*.json
src/database/migration/*
build/*
typings/*
typings/*
gulpfile.*
145 changes: 76 additions & 69 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"ecmaVersion": 2020,
"sourceType": "module"
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:@typescript-eslint/recommended"
"plugin:@typescript-eslint/recommended",
"plugin:jsdoc/recommended"
],
"plugins": [
"react",
"@typescript-eslint",
"only-warn"
"@typescript-eslint"
],
"settings": {
"react": {
Expand All @@ -35,95 +35,102 @@
"root": true,
"rules": {
"@typescript-eslint/adjacent-overload-signatures": "off",
"@typescript-eslint/ban-types": ["warn", {
"@typescript-eslint/ban-types": ["error", {
"types": {
"{}": false
},
"extendDefaults": true
}],
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/indent": ["warn", 2, {
"@typescript-eslint/indent": ["error", 2, {
"MemberExpression": 0,
"SwitchCase": 1
}],
"@typescript-eslint/no-empty-function": ["warn", { "allow": ["arrowFunctions"] }],
"@typescript-eslint/no-empty-function": ["error", { "allow": ["arrowFunctions"] }],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-invalid-void-type": ["warn", { "allowInGenericTypeArguments": true }],
"@typescript-eslint/no-invalid-void-type": ["error", { "allowInGenericTypeArguments": true }],
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/no-unused-vars": ["warn", {
"@typescript-eslint/no-unused-vars": ["error", {
"vars": "all",
"args": "none"
}],
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/prefer-interface": "off",
//"react/no-access-state-in-setstate": "warn", (requires restructuring of "app.tsx")
"react/no-direct-mutation-state": "warn",
"react/no-render-return-value": "warn",
"react/no-string-refs": "warn",
"react/no-unescaped-entities": ["warn", {"forbid": [{
//"react/no-access-state-in-setstate": "error", (requires restructuring of "app.tsx")
"react/no-direct-mutation-state": "error",
"react/no-render-return-value": "error",
"react/no-string-refs": "error",
"react/no-unescaped-entities": ["error", {"forbid": [{
"char": ">",
"alternatives": [">"]
}, {
"char": "}",
"alternatives": ["}"]
}]}],
"react/no-unused-prop-types": "warn",
"react/no-unused-state": "warn",
"curly": ["warn", "all"],
"eol-last": "warn",
"for-direction": "warn",
"getter-return": "warn",
"keyword-spacing": "warn",
"no-compare-neg-zero": "warn",
"no-cond-assign": "warn",
"no-constant-condition": ["warn", { "checkLoops": false }],
"react/no-unused-prop-types": "error",
"react/no-unused-state": "error",
"react/react-in-jsx-scope": "off",
"react/display-name": "off",
"curly": ["error", "all"],
"eol-last": "error",
"for-direction": "error",
"getter-return": "error",
"keyword-spacing": "error",
"no-compare-neg-zero": "error",
"no-cond-assign": "error",
"no-constant-condition": ["error", { "checkLoops": false }],
"no-control-regex": "off",
"no-debugger": "warn",
"no-delete-var": "warn",
"no-dupe-args": "warn",
"no-dupe-keys": "warn",
"no-duplicate-case": "warn",
"no-empty": "warn",
"no-empty-character-class": "warn",
"no-empty-pattern": "warn",
"no-ex-assign": "warn",
"no-extra-boolean-cast": "warn",
"no-extra-semi": "warn",
"no-func-assign": "warn",
"no-global-assign": "warn",
"no-debugger": "error",
"no-delete-var": "error",
"no-dupe-args": "error",
"no-dupe-keys": "error",
"no-duplicate-case": "error",
"no-empty": "error",
"no-empty-character-class": "error",
"no-empty-pattern": "error",
"no-ex-assign": "error",
"no-extra-boolean-cast": "error",
"no-extra-semi": "error",
"no-func-assign": "error",
"no-global-assign": "error",
"no-inner-declarations": "off",
"no-invalid-regexp": "warn",
"no-irregular-whitespace": "warn",
"no-mixed-spaces-and-tabs": "warn",
"no-obj-calls": "warn",
"no-octal": "warn",
"no-prototype-builtins": "warn",
"no-redeclare": "warn",
"no-regex-spaces": "warn",
"no-self-assign": "warn",
"no-shadow-restricted-names": "warn",
"no-spaced-func": "warn",
"no-sparse-arrays": "warn",
"no-trailing-spaces": "warn",
"no-unexpected-multiline": "warn",
"no-unreachable": "warn",
"no-unsafe-finally": "warn",
"no-unsafe-negation": "warn",
"no-unused-labels": "warn",
"no-useless-catch": "warn",
"no-useless-escape": "warn",
"no-whitespace-before-property": "warn",
"no-with": "warn",
"quotes": ["warn", "single"],
//"require-atomic-updates": "warn", (requires restructuring of "recursiveDirectory()")
"semi": ["warn", "always"],
"space-before-blocks": "warn",
"space-unary-ops": "warn",
"spaced-comment": "warn",
"use-isnan": "warn",
"valid-typeof": "warn",
"wrap-iife": "warn",
"yoda": "warn"
"no-invalid-regexp": "error",
"no-irregular-whitespace": "error",
"no-mixed-spaces-and-tabs": "error",
"no-obj-calls": "error",
"no-octal": "error",
"no-prototype-builtins": "error",
"no-redeclare": "off",
"@typescript-eslint/no-redeclare": "error",
"no-regex-spaces": "error",
"no-self-assign": "error",
"no-shadow-restricted-names": "error",
"no-spaced-func": "error",
"no-sparse-arrays": "error",
"no-trailing-spaces": "error",
"no-unexpected-multiline": "error",
"no-unreachable": "error",
"no-unsafe-finally": "error",
"no-unsafe-negation": "error",
"no-unused-labels": "error",
"no-useless-catch": "error",
"no-useless-escape": "error",
"no-whitespace-before-property": "error",
"no-with": "error",
"quotes": ["error", "single"],
//"require-atomic-updates": "error", (requires restructuring of "recursiveDirectory()")
"semi": ["error", "always"],
"space-before-blocks": "error",
"space-unary-ops": "error",
"spaced-comment": "error",
"use-isnan": "error",
"valid-typeof": "error",
"wrap-iife": "error",
"yoda": "error",
"jsdoc/require-param-type": "off",
"jsdoc/require-returns-type": "off",
"jsdoc/require-returns": "off",
"jsdoc/require-jsdoc": "off"
}
}
72 changes: 0 additions & 72 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

42 changes: 0 additions & 42 deletions .github/workflows/coveralls.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .github/workflows/lint.yml

This file was deleted.

Loading

0 comments on commit 27eced0

Please sign in to comment.