-
-
Notifications
You must be signed in to change notification settings - Fork 336
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'next' into next-upgrade-pm-detector
- Loading branch information
Showing
1,005 changed files
with
36,408 additions
and
11,635 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
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 |
---|---|---|
|
@@ -4,6 +4,7 @@ on: | |
push: | ||
branches: | ||
- main | ||
- next | ||
|
||
concurrency: ${{ github.workflow }}-${{ github.ref }} | ||
|
||
|
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 |
---|---|---|
|
@@ -109,4 +109,6 @@ dist | |
generated-assets | ||
|
||
# JetBrains IDEs | ||
.idea/ | ||
.idea/ | ||
|
||
.velite |
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
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,29 +1,52 @@ | ||
import config, { DEFAULT_IGNORES } from "@huntabyte/eslint-config"; | ||
import eslint from "@eslint/js"; | ||
import prettier from "eslint-config-prettier"; | ||
import svelte from "eslint-plugin-svelte"; | ||
import globals from "globals"; | ||
import tseslint from "typescript-eslint"; | ||
|
||
const ignores = ["**/extended-types"]; | ||
|
||
export default config({ svelte: true, ignores: [...DEFAULT_IGNORES, ...ignores] }) | ||
.override("antfu/typescript/rules", { | ||
rules: { | ||
"ts/consistent-type-definitions": "off", | ||
"unused-imports/no-unused-imports": "off", | ||
"unused-imports/no-unused-vars": "off", | ||
"ts/no-unused-expressions": "off", | ||
"no-unused-expressions": "off", | ||
"ts/no-empty-object-type": "off", | ||
export default tseslint.config( | ||
eslint.configs.recommended, | ||
...tseslint.configs.recommended, | ||
...svelte.configs["flat/recommended"], | ||
prettier, | ||
...svelte.configs["flat/prettier"], | ||
{ | ||
languageOptions: { | ||
globals: { | ||
...globals.browser, | ||
...globals.node, | ||
}, | ||
}, | ||
}) | ||
.override("antfu/javascript/rules", { | ||
rules: { | ||
"no-unused-expressions": "off", | ||
"unused-imports/no-unused-imports": "off", | ||
}, | ||
{ | ||
files: ["**/*.svelte"], | ||
languageOptions: { | ||
parserOptions: { | ||
parser: tseslint.parser, | ||
}, | ||
}, | ||
}) | ||
.override("huntabyte/svelte/rules", { | ||
}, | ||
{ | ||
rules: { | ||
"svelte/no-at-html-tags": "off", | ||
"unused-imports/no-unused-imports": "off", | ||
"unused-imports/no-unused-vars": "off", | ||
"import/no-self-import": "off", | ||
"@typescript-eslint/no-unused-vars": [ | ||
"error", | ||
{ | ||
argsIgnorePattern: "^_", | ||
varsIgnorePattern: "^_", | ||
}, | ||
], | ||
"@typescript-eslint/no-unused-expressions": "off", | ||
}, | ||
}); | ||
}, | ||
{ | ||
ignores: [ | ||
"build/", | ||
".svelte-kit/", | ||
"dist/", | ||
".svelte-kit/**/*", | ||
"sites/docs/.svelte-kit/**/*", | ||
".svelte-kit", | ||
"playgrounds/**/*", | ||
], | ||
} | ||
); |
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
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
Oops, something went wrong.