0
Fork 0
mirror of https://github.com/penpot/penpot-plugins.git synced 2025-01-08 16:00:27 -05:00
penpot-plugins/apps/example-styles/eslint.config.js
2024-06-13 08:51:44 +02:00

32 lines
593 B
JavaScript

import baseConfig from '../../eslint.config.js';
import globals from 'globals';
export default [
...baseConfig,
{
languageOptions: {
parserOptions: {
project: './tsconfig.*?.json',
tsconfigRootDir: import.meta.dirname,
},
},
},
{
files: ['**/*.ts', '**/*.tsx', '**/*.js', '**/*.jsx'],
rules: {},
languageOptions: {
globals: {
...globals.browser
}
}
},
{
files: ['**/*.ts', '**/*.tsx'],
rules: {},
},
{
files: ['**/*.js', '**/*.jsx'],
rules: {},
},
{ ignores: ['vite.config.ts'] },
];