oneuptime/eslint.config.js
Simon Larsen 5152d5de12
refactor: Remove @trivago/prettier-plugin-sort-imports and update eslint configuration
This commit removes the "@trivago/prettier-plugin-sort-imports" plugin from the ".prettierrc.json" file and updates the eslint configuration in the "package.json" file. The plugin was removed because it is no longer needed and caused conflicts with the updated eslint configuration. This change improves the codebase by simplifying the prettier configuration and ensuring compatibility with the updated eslint rules.
2024-06-14 12:07:16 +01:00

14 lines
549 B
JavaScript

// @ts-check
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
export default tseslint.config(
{
ignores: ['**/node_modules/', '**/dist/', '**/build/', '**/out/', '**/coverage/', '**/lib/', '**/esm/', '**/cjs/', '**/playwright-report/', '**/playwright-coverage/', '**/playwright-screenshots/', '**/playwright-videos'],
},
eslint.configs.recommended,
...tseslint.configs.strict,
eslintPluginPrettierRecommended
);