diff --git a/changelog.md b/changelog.md index 1dee461..7c54a00 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,9 @@ +9.1.1 / 2023-05-02 +================== + + * Добавили правило в конфигурационном файле `node` + * `@typescript-eslint/no-unused-vars` с уровнем ошибки `warn` и дополнительным объектом конфигурации `'argsIgnorePattern': '^_'` + 9.1.0 / 2023-05-02 ================== diff --git a/node.js b/node.js index 92fd9a7..f32cec2 100644 --- a/node.js +++ b/node.js @@ -12,6 +12,7 @@ module.exports = { // ------------------------------------------ 'no-console': 'off', 'no-shadow': 'off', + 'no-unused-vars': 'off', 'node/handle-callback-err': ['error', "^.*(e|E)rr"], 'node/no-callback-literal': 'error', 'node/no-exports-assign': 'off', @@ -50,7 +51,8 @@ module.exports = { 'unicorn/prefer-node-protocol': 'warn', // Typescript // ------------------------------------------ - '@typescript-eslint/no-empty-interface': 'off', - '@typescript-eslint/no-shadow': 'error' + '@typescript-eslint/no-empty-interface': 'off', + '@typescript-eslint/no-shadow': 'error', + '@typescript-eslint/no-unused-vars': ['warn', {'argsIgnorePattern': '^_'}] } };