From 7fa25668c5016527b89a0ee7ce749c65c497f465 Mon Sep 17 00:00:00 2001 From: Tom VanAntwerp Date: Fri, 7 Oct 2022 15:20:15 -0400 Subject: [PATCH] Copy prettier rules and some eslint config from showcase --- starters/remix-gql-tailwind/.eslintrc.json | 4 ++-- starters/remix-gql-tailwind/.prettierrc | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/starters/remix-gql-tailwind/.eslintrc.json b/starters/remix-gql-tailwind/.eslintrc.json index 9e1876a1d..a618d63c2 100644 --- a/starters/remix-gql-tailwind/.eslintrc.json +++ b/starters/remix-gql-tailwind/.eslintrc.json @@ -1,8 +1,8 @@ { "root": true, - "extends": ["@remix-run/eslint-config"], + "extends": ["plugin:storybook/recommended", "@remix-run/eslint-config"], "plugins": ["unused-imports"], - "rules": { + "rules": { "no-unused-vars": "off", "unused-imports/no-unused-imports": "error", "unused-imports/no-unused-vars": [ diff --git a/starters/remix-gql-tailwind/.prettierrc b/starters/remix-gql-tailwind/.prettierrc index 6a5577e4d..611ced836 100644 --- a/starters/remix-gql-tailwind/.prettierrc +++ b/starters/remix-gql-tailwind/.prettierrc @@ -1,4 +1,8 @@ { "trailingComma": "es5", - "singleQuote": true -} \ No newline at end of file + "tabWidth": 2, + "singleQuote": true, + "jsxSingleQuote": true, + "bracketSpacing": true, + "endOfLine": "auto" +}