diff --git a/packages/eslint-config/index.js b/packages/eslint-config/index.js index 87e358c..b50863e 100644 --- a/packages/eslint-config/index.js +++ b/packages/eslint-config/index.js @@ -4,7 +4,7 @@ module.exports = { es2021: true, node: true }, - extends: ['standard', 'prettier'], + extends: ['standard', 'plugin:@typescript-eslint/recommended', 'prettier'], parser: '@typescript-eslint/parser', parserOptions: { ecmaVersion: 13, @@ -23,14 +23,14 @@ module.exports = { ], // Enforce that interface names do not begin with an I. // Taken from https://typescript-eslint.io/rules/naming-convention/#enforce-that-interface-names-do-not-begin-with-an-i - "@typescript-eslint/naming-convention": [ - "error", + '@typescript-eslint/naming-convention': [ + 'error', { - "selector": "interface", - "format": ["PascalCase"], - "custom": { - "regex": "^I[A-Z]", - "match": false + selector: 'interface', + format: ['PascalCase'], + custom: { + regex: '^I[A-Z]', + match: false } } ]