committed by
GitHub
8 changed files with 361 additions and 3712 deletions
@ -1,46 +1,25 @@ |
|||||
# See https://pre-commit.com for more information |
# See https://pre-commit.com for more information |
||||
# See https://pre-commit.com/hooks.html for more hooks |
# See https://pre-commit.com/hooks.html for more hooks |
||||
|
default_language_version: |
||||
|
python: python3.10 |
||||
repos: |
repos: |
||||
- repo: https://github.com/pre-commit/pre-commit-hooks |
- repo: https://github.com/pre-commit/pre-commit-hooks |
||||
rev: v4.4.0 |
rev: v4.4.0 |
||||
hooks: |
hooks: |
||||
- id: check-added-large-files |
- id: check-added-large-files |
||||
- id: check-toml |
- id: check-toml |
||||
- id: check-yaml |
- id: check-yaml |
||||
args: |
args: |
||||
- --unsafe |
- --unsafe |
||||
- id: end-of-file-fixer |
- id: end-of-file-fixer |
||||
- id: trailing-whitespace |
- id: trailing-whitespace |
||||
- repo: https://github.com/charliermarsh/ruff-pre-commit |
- repo: https://github.com/charliermarsh/ruff-pre-commit |
||||
rev: v0.2.2 |
rev: v0.2.2 |
||||
hooks: |
hooks: |
||||
- id: ruff |
- id: ruff |
||||
args: |
args: |
||||
- --fix |
- --fix |
||||
- id: ruff-format |
- id: ruff-format |
||||
- repo: https://github.com/pre-commit/mirrors-prettier |
|
||||
rev: v3.1.0 |
|
||||
hooks: |
|
||||
- id: prettier |
|
||||
additional_dependencies: |
|
||||
- prettier@3.2.5 |
|
||||
- repo: https://github.com/pre-commit/mirrors-eslint |
|
||||
rev: v8.56.0 |
|
||||
hooks: |
|
||||
- id: eslint |
|
||||
files: \.(js|jsx|ts|tsx)$ |
|
||||
additional_dependencies: |
|
||||
- eslint@8.57.0 |
|
||||
- eslint-config-standard-with-typescript@43.0.1 |
|
||||
- eslint-plugin-import@2.29.1 |
|
||||
- eslint-plugin-n@16.6.2 |
|
||||
- eslint-plugin-promise@6.1.1 |
|
||||
- eslint-plugin-react@7.34.0 |
|
||||
- eslint-plugin-react-hooks@4.6.0 |
|
||||
- eslint-plugin-react-refresh@0.4.4 |
|
||||
- "@typescript-eslint/eslint-plugin@6.21.0" |
|
||||
- "@typescript-eslint/parser@6.10.0" |
|
||||
|
|
||||
ci: |
ci: |
||||
autofix_commit_msg: 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks |
autofix_commit_msg: 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks |
||||
autoupdate_commit_msg: ⬆ [pre-commit.ci] pre-commit autoupdate |
autoupdate_commit_msg: ⬆ [pre-commit.ci] pre-commit autoupdate |
||||
|
@ -1 +0,0 @@ |
|||||
new-frontend/src/client/** |
|
@ -0,0 +1,18 @@ |
|||||
|
module.exports = { |
||||
|
root: true, |
||||
|
env: { browser: true, es2020: true }, |
||||
|
extends: [ |
||||
|
'eslint:recommended', |
||||
|
'plugin:@typescript-eslint/recommended', |
||||
|
'plugin:react-hooks/recommended', |
||||
|
], |
||||
|
ignorePatterns: ['dist', '.eslintrc.cjs'], |
||||
|
parser: '@typescript-eslint/parser', |
||||
|
plugins: ['react-refresh'], |
||||
|
rules: { |
||||
|
'react-refresh/only-export-components': [ |
||||
|
'warn', |
||||
|
{ allowConstantExport: true }, |
||||
|
], |
||||
|
}, |
||||
|
} |
@ -1,13 +0,0 @@ |
|||||
{ |
|
||||
"env": { |
|
||||
"browser": true, |
|
||||
"es2021": true |
|
||||
}, |
|
||||
"extends": ["standard-with-typescript", "plugin:react/recommended"], |
|
||||
"parserOptions": { |
|
||||
"ecmaVersion": "latest", |
|
||||
"sourceType": "module" |
|
||||
}, |
|
||||
"plugins": ["react"], |
|
||||
"rules": {} |
|
||||
} |
|
@ -1 +0,0 @@ |
|||||
new-frontend/src/client/** |
|
@ -1,10 +0,0 @@ |
|||||
{ |
|
||||
"semi": true, |
|
||||
"trailingComma": "all", |
|
||||
"singleQuote": true, |
|
||||
"printWidth": 80, |
|
||||
"tabWidth": 2, |
|
||||
"importOrder": ["^@core/(.*)$", "^@server/(.*)$", "^@ui/(.*)$", "^[./]"], |
|
||||
"importOrderSeparation": true, |
|
||||
"importOrderSortSpecifiers": true |
|
||||
} |
|
File diff suppressed because it is too large
Loading…
Reference in new issue