mirror of
https://github.com/rharkor/caching-for-turbo.git
synced 2025-06-09 09:35:17 +09:00
27 lines
608 B
JavaScript
27 lines
608 B
JavaScript
import { defineConfig } from 'eslint/config'
|
|
import js from '@eslint/js'
|
|
import globals from 'globals'
|
|
import tseslint from 'typescript-eslint'
|
|
|
|
export default defineConfig([
|
|
{
|
|
ignores: [
|
|
'lib/**/*',
|
|
'dist/**/*',
|
|
'node_modules/**/*',
|
|
'coverage/**/*',
|
|
'post.js'
|
|
]
|
|
},
|
|
{
|
|
files: ['**/*.{js,mjs,cjs,ts}'],
|
|
plugins: { js },
|
|
extends: ['js/recommended']
|
|
},
|
|
{ files: ['**/*.js'], languageOptions: { sourceType: 'commonjs' } },
|
|
{
|
|
files: ['**/*.{js,mjs,cjs,ts}'],
|
|
languageOptions: { globals: globals.browser }
|
|
},
|
|
tseslint.configs.recommended
|
|
])
|