hedgedoc/database/.eslintrc.cjs
Erik Michelson 431e3df61b
chore: linting and build fixes
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2025-05-19 11:42:26 +02:00

23 lines
607 B
JavaScript

/*
* SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file)
*
* SPDX-License-Identifier: AGPL-3.0-only
*/
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
project: ['./tsconfig.test.json'],
},
plugins: ['@typescript-eslint', 'prettier'],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended-requiring-type-checking',
'plugin:@typescript-eslint/recommended',
'prettier',
],
rules: {
'prettier/prettier': ['error', require('./.prettierrc.json')],
},
}