mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 07:42:10 +00:00
5152d5de12
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.
14 lines
549 B
JavaScript
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
|
|
);
|