25 lines
575 B
JavaScript
25 lines
575 B
JavaScript
import globals from 'globals'
|
|
import pluginJs from '@eslint/js'
|
|
import tseslint from 'typescript-eslint'
|
|
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'
|
|
|
|
/** @type {import('eslint').Linter.Config[]} */
|
|
export default [
|
|
pluginJs.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
eslintPluginPrettierRecommended,
|
|
{ files: ['**/*.{js,mjs,cjs,ts}'] },
|
|
{ languageOptions: { globals: globals.browser } },
|
|
{
|
|
ignores: [
|
|
'coverage',
|
|
'public',
|
|
'dist',
|
|
'.yarn',
|
|
'yarn.lock',
|
|
'build/replacers.js/*.js',
|
|
'web',
|
|
],
|
|
},
|
|
]
|