-
-
Notifications
You must be signed in to change notification settings - Fork 341
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
next: update formsnap and bits (#1303)
- Loading branch information
Showing
53 changed files
with
1,277 additions
and
991 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 |
---|---|---|
@@ -1,28 +1,29 @@ | ||
import config from "@huntabyte/eslint-config"; | ||
import config, { DEFAULT_IGNORES } from "@huntabyte/eslint-config"; | ||
|
||
export default config({ svelte: true }) | ||
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", | ||
}, | ||
}) | ||
.override("antfu/javascript/rules", { | ||
rules: { | ||
"unused-imports/no-unused-vars": [ | ||
"error", | ||
{ | ||
varsIgnorePattern: "^_", | ||
argsIgnorePattern: "^_", | ||
args: "after-used", | ||
}, | ||
], | ||
"no-unused-vars": "off", | ||
"no-unused-expressions": "off", | ||
"unused-imports/no-unused-imports": "off", | ||
}, | ||
}) | ||
.override("antfu/typescript/rules", { | ||
.override("huntabyte/svelte/rules", { | ||
rules: { | ||
"unused-imports/no-unused-vars": [ | ||
"error", | ||
{ | ||
args: "after-used", | ||
varsIgnorePattern: "^_", | ||
argsIgnorePattern: "^_", | ||
}, | ||
], | ||
"svelte/no-at-html-tags": "off", | ||
"unused-imports/no-unused-imports": "off", | ||
"unused-imports/no-unused-vars": "off", | ||
"import/no-self-import": "off", | ||
}, | ||
}); |
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.