Ghost/ghost/mail-events/.eslintrc.js
Daniel Lockyer b0cf1f949a Switched TypeScript eslint config to custom plugin
refs https://github.com/TryGhost/DevOps/issues/50

- this switches the .eslint configs from `node` to `ts`, which is a new
  config to support eslint for TypeScript
- also makes minor changes to adhere to these new rules
2023-07-25 16:12:35 +02:00

13 lines
280 B
JavaScript

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