2024-04-23 14:58:48 +10:00
|
|
|
/** @type { import("eslint").Linter.Config } */
|
|
|
|
module.exports = {
|
|
|
|
root: true,
|
2024-04-23 19:05:37 +10:00
|
|
|
extends: ['eslint:recommended', 'plugin:svelte/recommended'],
|
2024-04-23 14:58:48 +10:00
|
|
|
parserOptions: {
|
|
|
|
sourceType: 'module',
|
|
|
|
ecmaVersion: 2020,
|
|
|
|
extraFileExtensions: ['.svelte']
|
|
|
|
},
|
|
|
|
env: {
|
|
|
|
browser: true,
|
|
|
|
es2017: true,
|
|
|
|
node: true
|
2024-04-23 19:05:37 +10:00
|
|
|
}
|
2024-04-23 14:58:48 +10:00
|
|
|
};
|