module.exports = { root: true, parser: '@typescript-eslint/parser', plugins: ['@typescript-eslint'], env: { es6: true, node: true, mocha: true, }, extends: [ 'eslint:recommended', 'plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended', ], rules: { radix: ['error', 'always'], 'object-shorthand': ['error', 'always'], 'prettier/prettier': [ 'error', {}, { usePrettierrc: true, }, ], 'prefer-const': 'warn', '@typescript-eslint/camelcase': 'off', '@typescript-eslint/no-empty-function': 'off', '@typescript-eslint/no-unused-vars': ['warn', { varsIgnorePattern: '^_' }], '@typescript-eslint/no-empty-interface': 'off', '@typescript-eslint/explicit-function-return-type': 'off', '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/ban-ts-comment': 'warn', '@typescript-eslint/no-non-null-assertion': 'error', '@typescript-eslint/no-use-before-define': [ 'error', { functions: false, typedefs: false }, ], }, }