14 lines
442 B
JavaScript
14 lines
442 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 [
|
|
{ files: ['**/*.{mjs,cjs,ts}'] },
|
|
{ languageOptions: { globals: globals.node } },
|
|
pluginJs.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
eslintPluginPrettierRecommended,
|
|
]
|