mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
enable eslint comments linting
This commit is contained in:
parent
1dfa24aaef
commit
4c3a0728e8
@ -13,7 +13,7 @@ module.exports = {
|
|||||||
// 'plugin:import/recommended',
|
// 'plugin:import/recommended',
|
||||||
// 'plugin:import/typescript',
|
// 'plugin:import/typescript',
|
||||||
// 'plugin:security/recommended',
|
// 'plugin:security/recommended',
|
||||||
// 'plugin:@eslint-community/eslint-comments/recommended',
|
'plugin:@eslint-community/eslint-comments/recommended',
|
||||||
],
|
],
|
||||||
settings: {
|
settings: {
|
||||||
'import/parsers': {
|
'import/parsers': {
|
||||||
@ -155,10 +155,10 @@ module.exports = {
|
|||||||
// 'promise/prefer-await-to-callbacks': 'error',
|
// 'promise/prefer-await-to-callbacks': 'error',
|
||||||
// 'promise/no-multiple-resolved': 'error',
|
// 'promise/no-multiple-resolved': 'error',
|
||||||
// eslint comments
|
// eslint comments
|
||||||
// '@eslint-community/eslint-comments/disable-enable-pair': ['error', { allowWholeFile: true }],
|
'@eslint-community/eslint-comments/disable-enable-pair': ['error', { allowWholeFile: true }],
|
||||||
// '@eslint-community/eslint-comments/no-restricted-disable': 'error',
|
'@eslint-community/eslint-comments/no-restricted-disable': 'error',
|
||||||
// '@eslint-community/eslint-comments/no-use': 'off',
|
'@eslint-community/eslint-comments/no-use': 'off',
|
||||||
// '@eslint-community/eslint-comments/require-description': 'off',
|
'@eslint-community/eslint-comments/require-description': 'off',
|
||||||
},
|
},
|
||||||
overrides: [
|
overrides: [
|
||||||
// only for ts files
|
// only for ts files
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user