mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-28 17:50:57 -05:00
37 lines
776 B
JSON
37 lines
776 B
JSON
|
/*
|
||
|
* SPDX-FileCopyrightText: 2020 The HedgeDoc developers (see AUTHORS file)
|
||
|
*
|
||
|
* SPDX-License-Identifier: CC0-1.0
|
||
|
*/
|
||
|
{
|
||
|
"parser": "@typescript-eslint/parser",
|
||
|
"parserOptions": {
|
||
|
"project": [
|
||
|
"./tsconfig.test.json"
|
||
|
]
|
||
|
},
|
||
|
"plugins": [
|
||
|
"@typescript-eslint",
|
||
|
"jest",
|
||
|
"prettier"
|
||
|
],
|
||
|
"env": {
|
||
|
"jest": true,
|
||
|
"jest/globals": true
|
||
|
},
|
||
|
"extends": [
|
||
|
"eslint:recommended",
|
||
|
"plugin:@typescript-eslint/eslint-recommended",
|
||
|
"plugin:@typescript-eslint/recommended",
|
||
|
"prettier"
|
||
|
],
|
||
|
"rules": {
|
||
|
"prettier/prettier": "error",
|
||
|
"jest/no-disabled-tests": "warn",
|
||
|
"jest/no-focused-tests": "error",
|
||
|
"jest/no-identical-title": "error",
|
||
|
"jest/prefer-to-have-length": "warn",
|
||
|
"jest/valid-expect": "error"
|
||
|
}
|
||
|
}
|