-
-
Save tivac/7b0623dfd128d0a60c8ce05069f79e86 to your computer and use it in GitHub Desktop.
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
module.exports = { | |
overrides : [{ | |
files : [ | |
"*.svelte", | |
], | |
extends : [ | |
"plugin:@ota-meshi/svelte/recommended", | |
], | |
rules : { | |
"no-unused-vars" : [ "warn", { | |
args : "after-used", | |
ignoreRestSiblings : true, | |
caughtErrors : "none", | |
varsIgnorePattern : "_", | |
}], | |
}, | |
}], | |
}; |
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
{#each { length : 5 } as _} | |
<div>thing</div> | |
{/each} |
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
{ | |
"name": "eslint-plugin-svelte-unused-vars", | |
"version": "1.0.0", | |
"main": "index.js", | |
"scripts": { | |
"lint": "eslint ." | |
}, | |
"devDependencies": { | |
"@ota-meshi/eslint-plugin-svelte": "^0.34.0", | |
"eslint": "^8.18.0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment