"use strict"; const config = { plugins: ['svelte'], overrides: [ { files: ['*.svelte'], parser: require.resolve('svelte-eslint-parser'), rules: { // ESLint core rules known to cause problems with `.svelte`. 'no-inner-declarations': 'off', // The AST generated by svelte-eslint-parser will false positives in it rule because the root node of the script is not the `Program`. // "no-irregular-whitespace": "off", // Self assign is one of way to update reactive value in Svelte. 'no-self-assign': 'off', // eslint-plugin-svelte rules 'svelte/comment-directive': 'error', 'svelte/system': 'error' } } ] }; module.exports = config;