-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(projects): move eslint-flat-config to repository
- Loading branch information
1 parent
406b8f8
commit 54d3045
Showing
71 changed files
with
10,146 additions
and
2,785 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Editor configuration, see http://editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,46 @@ | ||
name: Release | ||
|
||
permissions: | ||
contents: write | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
|
||
jobs: | ||
release: | ||
permissions: | ||
id-token: write | ||
contents: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- uses: actions/setup-node@v3 | ||
- name: Install pnpm | ||
uses: pnpm/action-setup@v2 | ||
|
||
- name: Set node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.x | ||
node-version: lts/* | ||
cache: pnpm | ||
registry-url: "https://registry.npmjs.org" | ||
|
||
- run: npx githublogen | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
|
||
- name: Install Dependencies | ||
run: pnpm install --no-frozen-lockfile | ||
|
||
- name: PNPM build | ||
run: pnpm run build | ||
|
||
- name: Publish to NPM | ||
run: pnpm -r publish --access public --no-git-checks | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | ||
NPM_CONFIG_PROVENANCE: true | ||
|
||
- name: Sync Npmmirror | ||
run: npx syncmirror |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,3 @@ stats.html | |
*.njsproj | ||
*.sln | ||
*.sw? | ||
|
||
package-lock.json | ||
yarn.lock | ||
pnpm-lock.yaml |
Empty file.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
{ | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": "explicit" | ||
"source.fixAll.eslint": "explicit", | ||
"source.organizeImports": "never" | ||
}, | ||
"editor.fontLigatures": true, | ||
"eslint.experimental.useFlatConfig": true, | ||
"editor.formatOnSave": false, | ||
"editor.quickSuggestions": { | ||
"strings": true | ||
}, | ||
"editor.tabSize": 2, | ||
"eslint.validate": ["svelte", "astro", "json"], | ||
"files.associations": { | ||
"*.env.*": "dotenv", | ||
"*.svg": "html" | ||
}, | ||
"files.eol": "\n", | ||
"[html][css][less][scss][sass][markdown][yaml][yml][jsonc]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": true | ||
} | ||
"eslint.validate": [ | ||
"svelte", | ||
"astro", | ||
"html", | ||
"css", | ||
"less", | ||
"scss", | ||
"json", | ||
"jsonc", | ||
"yaml", | ||
"yml", | ||
"markdown", | ||
"toml" | ||
], | ||
"prettier.enable": false | ||
} |
Oops, something went wrong.