// @ts-check /* eslint-env node */ 'use strict'; /** * An object with ESLint options. * @type {import('eslint').Linter.Config} */ const options = { root: true, parser: '@typescript-eslint/parser', parserOptions: { ecmaVersion: 2020, }, plugins: ['@typescript-eslint'], extends: [ 'eslint:recommended', 'plugin:prettier/recommended', 'plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recommended', ], rules: { 'prefer-const': 'off', 'no-param-reassign': 'off', '@typescript-eslint/no-unused-vars': 'off', '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/no-use-before-define': 'off', }, }; module.exports = options;