From 5fc6e201be8751b9a310940cbd9a926e2fe090c2 Mon Sep 17 00:00:00 2001 From: Phil Bates Date: Thu, 18 Jan 2024 09:52:42 +0000 Subject: [PATCH] Prettier: Don't ignore .eslintrc.cjs --- .eslintrc.cjs | 10 +++++----- .prettierignore | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index fd8cc36..57115ac 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -2,10 +2,10 @@ module.exports = { root: true, env: { browser: true, es2020: true }, extends: [ - 'eslint:recommended', - 'plugin:@typescript-eslint/recommended', - 'prettier', + "eslint:recommended", + "plugin:@typescript-eslint/recommended", + "prettier", ], - ignorePatterns: ['dist', '.eslintrc.cjs'], - parser: '@typescript-eslint/parser', + ignorePatterns: ["dist", ".eslintrc.cjs"], + parser: "@typescript-eslint/parser", }; diff --git a/.prettierignore b/.prettierignore index 31f7195..6d5b68f 100644 --- a/.prettierignore +++ b/.prettierignore @@ -3,6 +3,7 @@ # Except...: !resources/ +!.eslintrc.cjs !package.json !tsconfig.json !tsconfig.node.json