This configuration should be used to integrate global ESLint rules into svelte transfermarkt projects. It extends the global ESLint configuration.
Inside the project directory:
npm i @transfermarkt/eslint-config-svelte -D
Add this to your package.json:
"eslintConfig": {
"extends": ["@transfermarkt/eslint-config-svelte"]
},
You can also add files to be ignored to the "eslintIgnore" property as string[] in the package.json.
For Example:
"eslintIgnore": ["hello.js", "world.js"]