mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-23 22:11:09 +03:00
b0cf1f949a
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
13 lines
280 B
JavaScript
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']
|
|
}
|
|
};
|