mirror of
https://github.com/toddbluhm/env-cmd.git
synced 2025-12-08 18:23:33 +00:00
27 lines
552 B
Plaintext
27 lines
552 B
Plaintext
module.exports = (async function config() {
|
|
const { default: love } = await import('eslint-config-love')
|
|
|
|
return [
|
|
love,
|
|
{
|
|
files: [
|
|
'src/**/*.[j|t]s',
|
|
// 'src/**/*.ts',
|
|
'test/**/*.[j|t]s',
|
|
// 'test/**/*.ts'
|
|
],
|
|
languageOptions: {
|
|
parserOptions: {
|
|
projectService: {
|
|
allowDefaultProject: ['eslint.config.js', 'bin/env-cmd.js'],
|
|
defaultProject: './tsconfig.json',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
ignores: ['dist/'],
|
|
}
|
|
]
|
|
})()
|