aea63c0b4b
Before making any changes to the logic of the code I've updated all dependencies and adjusted the configurations according to the migration documentation. I ensured that I can still run the npm scripts like before. Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
25 lines
525 B
JavaScript
25 lines
525 B
JavaScript
module.exports = {
|
|
root: true,
|
|
parser: '@typescript-eslint/parser',
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'prettier',
|
|
'plugin:svelte/recommended'
|
|
],
|
|
plugins: ['@typescript-eslint'],
|
|
ignorePatterns: ['*.cjs'],
|
|
overrides: [{ files: ['*.svelte'], parser: 'svelte-eslint-parser' }],
|
|
settings: {
|
|
'svelte3/typescript': () => require('typescript')
|
|
},
|
|
parserOptions: {
|
|
sourceType: 'module',
|
|
ecmaVersion: 2023
|
|
},
|
|
env: {
|
|
browser: true,
|
|
es2023: true,
|
|
node: true
|
|
}
|
|
};
|