mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-23 11:55:01 +03:00
a547ae4b68
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.
12 lines
266 B
JavaScript
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']
|
|
}
|
|
};
|