mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-30 11:00:01 -05:00
0c56466dc1
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
30 lines
863 B
JavaScript
30 lines
863 B
JavaScript
/* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
|
*
|
|
* SPDX-License-Identifier: CC0-1.0
|
|
*/
|
|
module.exports = {
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
project: 'tsconfig.json',
|
|
sourceType: 'module',
|
|
},
|
|
plugins: ['@typescript-eslint/eslint-plugin'],
|
|
extends: [
|
|
'plugin:@typescript-eslint/eslint-recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'prettier',
|
|
'prettier/@typescript-eslint',
|
|
],
|
|
root: true,
|
|
env: {
|
|
node: true,
|
|
jest: true,
|
|
},
|
|
rules: {
|
|
'@typescript-eslint/interface-name-prefix': 'off',
|
|
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
'@typescript-eslint/no-unused-vars': ['warn', { "argsIgnorePattern": "^_+$" }],
|
|
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
},
|
|
};
|