Skip to content

Commit

Permalink
feat: 插件挂件源码合并 terwer/sy-post-publisher#89 #522
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Aug 1, 2023
1 parent 1b5a66a commit c18023f
Show file tree
Hide file tree
Showing 47 changed files with 156 additions and 6,411 deletions.
1 change: 1 addition & 0 deletions .env.development.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_DEBUG_MODE=true
1 change: 1 addition & 0 deletions .env.production.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_DEBUG_MODE=false
1 change: 1 addition & 0 deletions .env.test.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_DEBUG_MODE=true
40 changes: 2 additions & 38 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,40 +1,4 @@
module.exports = {
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:svelte/recommended",
"turbo",
"prettier",
],

parser: "@typescript-eslint/parser",

overrides: [
{
files: ["*.svelte"],
parser: "svelte-eslint-parser",
// Parse the script in `.svelte` as TypeScript by adding the following configuration.
parserOptions: {
parser: "@typescript-eslint/parser",
},
},
],

plugins: ["@typescript-eslint", "prettier"],

rules: {
// Note: you must disable the base rule as it can report incorrect errors
semi: "off",
quotes: "off",
"no-undef": "off",
"no-async-promise-executor": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-this-alias": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-explicit-any": "off",
"turbo/no-undeclared-env-vars": "off",
"prettier/prettier": "error",
},
root: true,
extends: ["./node_modules/@terwer/eslint-config-custom/typescript/index.cjs"],
}
39 changes: 0 additions & 39 deletions .github/dependabot.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/ci.yml

This file was deleted.

103 changes: 0 additions & 103 deletions .github/workflows/release-please.yml

This file was deleted.

20 changes: 16 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
# idea
.idea
.DS_Store
node_modules

# build
dist
build
__pycache__
lib
!src/lib
node_modules

# api-extractor
etc
temp
tsdoc-metadata.json

# env
.env.development
.env.production
.env.test
11 changes: 0 additions & 11 deletions .prettierignore

This file was deleted.

64 changes: 0 additions & 64 deletions CHANGELOG.md

This file was deleted.

21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

Loading

0 comments on commit c18023f

Please sign in to comment.