mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-05 18:20:39 -08:00
20 lines
454 B
JavaScript
20 lines
454 B
JavaScript
import tidgiConfig from 'eslint-config-tidgi';
|
|
import { dirname } from 'node:path';
|
|
import { fileURLToPath } from 'node:url';
|
|
|
|
const __filename = fileURLToPath(import.meta.url);
|
|
const __dirname = dirname(__filename);
|
|
|
|
export default [
|
|
...tidgiConfig,
|
|
{
|
|
languageOptions: {
|
|
parserOptions: {
|
|
projectService: {
|
|
allowDefaultProject: ['./*.js', './*.mjs'],
|
|
},
|
|
tsconfigRootDir: __dirname,
|
|
},
|
|
},
|
|
},
|
|
];
|