15 lines
305 B
JavaScript
15 lines
305 B
JavaScript
/** @type { import("eslint").Linter.Config } */
|
|
module.exports = {
|
|
root: true,
|
|
extends: ['eslint:recommended', 'plugin:svelte/recommended'],
|
|
parserOptions: {
|
|
sourceType: 'module',
|
|
ecmaVersion: 2020,
|
|
extraFileExtensions: ['.svelte']
|
|
},
|
|
env: {
|
|
browser: true,
|
|
es2017: true,
|
|
node: true
|
|
}
|
|
};
|