Ghost/ghost/model-to-domain-event-interceptor/.eslintrc.js
Naz a547ae4b68 Fixed TypeScript related no-unused-vars linting errors
no issue

- Function types in TypeScript can have what looks like an unused variable for the eslint. It's part of the TypeScript language and should be fully supported out of the box.
2023-07-03 18:47:27 +08:00

12 lines
266 B
JavaScript

module.exports = {
parser: '@typescript-eslint/parser',
plugins: ['ghost', '@typescript-eslint'],
extends: [
'plugin:ghost/node'
],
rules: {
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': ['error']
}
};