eslint.config.mjs
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";
import eslintConfigPrettier from "eslint-config-prettier";
export default [
{
languageOptions: {
globals: globals.browser,
},
},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
eslintConfigPrettier,
{
ignores: [
'coverage',
'dist',
'node_modules',
'.vscode',
'rollup.config.js',
]
},
];