Skip to content

Commit

Permalink
Merge pull request #29 from dusk-network/feature-28
Browse files Browse the repository at this point in the history
Override no-undef-init for Svelte files
  • Loading branch information
kieranhall authored Feb 29, 2024
2 parents 286281c + 0d2cc44 commit 8da0f17
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions svelte/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ const rules = ["./base", "./style"].map(require.resolve);

module.exports = {
extends: ["plugin:svelte/recommended", "plugin:svelte/prettier", ...rules],
overrides: [
{
files: ["*.svelte"],
rules: {
"no-undef-init": 0,
},
},
],
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
Expand Down

0 comments on commit 8da0f17

Please sign in to comment.