diff --git a/.eslintrc.json b/.eslintrc.json index 7585b0770cbc79d4f22ca83471ebbe375bba6456..9b67c6a2db46d35bcb2826803891513d66299cad 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -10,7 +10,8 @@ "plugin:react/recommended", "plugin:jsx-a11y/recommended", "plugin:@next/next/recommended", - "prettier" + "prettier", + "next" ], "parserOptions": { "ecmaVersion": 2015, @@ -65,7 +66,14 @@ ], "optionalDependencies": false } - ] + ], + "indent": ["error", 2], + "react/jsx-indent": ["error", 2], + "react/jsx-indent-props": ["error", 2], + "linebreak-style": ["error", "unix"], + "semi": ["error", "always"], + "no-cond-assign": ["error", "always"], + "no-trailing-spaces": ["error"] }, "overrides": [ { diff --git a/tailwind.config.ts b/tailwind.config.ts index 1af3b8f01934a8fdd694eb5747b8115f01419199..1f953f9b9ebb329611eac3808d337cc0deecdc0c 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -1,20 +1,15 @@ -import type { Config } from 'tailwindcss' +import type { Config } from 'tailwindcss'; const config: Config = { - content: [ - './src/pages/**/*.{js,ts,jsx,tsx,mdx}', - './src/components/**/*.{js,ts,jsx,tsx,mdx}', - './src/app/**/*.{js,ts,jsx,tsx,mdx}', - ], + content: ['./src/**/*.ts', './src/**/*.tsx'], theme: { extend: { backgroundImage: { 'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))', - 'gradient-conic': - 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))', + 'gradient-conic': 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))', }, }, }, plugins: [], -} -export default config +}; +export default config;