0
Fork 0
mirror of https://github.com/penpot/penpot-plugins.git synced 2025-01-09 00:10:12 -05:00
penpot-plugins/apps/example-styles/eslint.config.js

33 lines
593 B
JavaScript
Raw Normal View History

2024-05-07 03:28:40 -05:00
import baseConfig from '../../eslint.config.js';
import globals from 'globals';
export default [
...baseConfig,
{
languageOptions: {
2024-06-12 07:30:32 -05:00
parserOptions: {
project: './tsconfig.*?.json',
tsconfigRootDir: import.meta.dirname,
},
2024-05-07 03:28:40 -05:00
},
},
{
files: ['**/*.ts', '**/*.tsx', '**/*.js', '**/*.jsx'],
rules: {},
languageOptions: {
globals: {
...globals.browser
}
}
},
{
files: ['**/*.ts', '**/*.tsx'],
rules: {},
},
{
files: ['**/*.js', '**/*.jsx'],
rules: {},
},
{ ignores: ['vite.config.ts'] },
];