0
Fork 0
mirror of https://github.com/penpot/penpot-plugins.git synced 2025-01-04 13:50:13 -05:00
penpot-plugins/tools/eslint.config.js
2024-07-04 15:30:17 +02:00

21 lines
445 B
JavaScript

import baseConfig from '../../eslint.config.js';
import jsoncParser from 'jsonc-eslint-parser';
import globals from 'globals';
export default [
...baseConfig,
{
files: ['**/*.ts'],
rules: {},
languageOptions: {
parserOptions: {
project: './tsconfig.*?.json',
tsconfigRootDir: import.meta.dirname,
},
globals: {
...globals.node,
PluginConfig: 'readonly',
},
},
},
];