mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
33 lines
733 B
JavaScript
33 lines
733 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
node: true,
|
|
},
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
ecmaVersion: 6,
|
|
project: ['tsconfig.json'],
|
|
sourceType: 'module'
|
|
},
|
|
plugins: ['prettier', '@typescript-eslint', 'type-graphql' ],
|
|
extends: [
|
|
'standard',
|
|
'eslint:recommended',
|
|
'plugin:prettier/recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'plugin:@typescript-eslint/recommended-requiring-type-checking',
|
|
'plugin:type-graphql/recommended',
|
|
],
|
|
// add your custom rules here
|
|
rules: {
|
|
'no-console': ['error'],
|
|
'no-debugger': 'error',
|
|
'prettier/prettier': [
|
|
'error',
|
|
{
|
|
htmlWhitespaceSensitivity: 'ignore',
|
|
},
|
|
],
|
|
},
|
|
}
|