// @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: { ecmaFeatures: { jsx: true, }, ecmaVersion: 2021, }, plugins: ['@typescript-eslint'], extends: [ 'eslint:recommended', 'plugin:prettier/recommended', 'plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recommended', ], }; module.exports = options;