Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
BIYUEHU committed Jan 30, 2024
1 parent df85ff6 commit 7dab102
Show file tree
Hide file tree
Showing 30 changed files with 164 additions and 585 deletions.
42 changes: 0 additions & 42 deletions .eslintignore

This file was deleted.

61 changes: 18 additions & 43 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,52 +1,27 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "airbnb-base", "prettier"],
"overrides": [
{
"env": {
"node": true
},
"files": [".eslintrc.{js,cjs}"],
"parserOptions": {
"sourceType": "script"
}
}
"root": true,
"extends": [
"airbnb-base",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"plugins": [
"@typescript-eslint"
],
"rules": {
// "@typescript-eslint/no-explicit-any": 0,
// "@typescript-eslint/no-namespace": 0,
// "no-console": 0,
// "space-before-function-paren": 0,
/* typescript need */
"import/no-unresolved": 0,
"import/extensions": 0,
"import/no-extraneous-dependencies": 0,
"import/no-mutable-exports": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-unused-vars": 0,
"no-use-before-define": 0,
"no-unused-vars": 0,
"no-shadow": 0,
"no-undef": 0,
"no-use-before-define": 0,
"no-restricted-syntax": 0,
"max-classes-per-file": 0,
"no-continue": 0,
"prefer-destructuring": 0,
"default-case": 0,
"no-console": 0,
"indent": [0, "spaces", 4],
"space-before-function-paren": 0
"no-redeclare": 0
},
"settings": {
"import/resolver": {
"alias": {
"map": [["@", "./src"]],
"extensions": [".ts", ".tsx", ".js", ".jsx", ".json"]
}
}
}
}
"ignorePatterns": [
"*.js"
]
}
9 changes: 6 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
node_modules
dist
logs
*.log
lib
.husky/_

.vscode/*
.vs/*
!.vscode/extensions.json
.idea

*.tgz
tsconfig.tsbuildinfo
*.log
3 changes: 0 additions & 3 deletions .lintstagedrc

This file was deleted.

9 changes: 0 additions & 9 deletions .npmignore

This file was deleted.

9 changes: 3 additions & 6 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"printWidth": 120,
"tabWidth": 4,
"useTabs": true,
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "avoid"
}
"printWidth": 120,
"trailingComma": "none"
}
15 changes: 0 additions & 15 deletions .versionrc

This file was deleted.

Loading

0 comments on commit 7dab102

Please sign in to comment.