Anvil/.eslintrc.cjs
André Jaenisch aea63c0b4b
build: upgrade all dependencies
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>
2023-12-20 23:18:17 +01:00

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
}
};