Skip to content

Commit

Permalink
chore: updated configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbrusegard committed Jan 27, 2024
1 parent 4651d39 commit bca86c8
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 16 deletions.
4 changes: 1 addition & 3 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** @type {import("eslint").Linter.Config} */
const config = {
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
project: true,
Expand Down Expand Up @@ -34,5 +34,3 @@ const config = {
],
},
};

module.exports = config;
4 changes: 1 addition & 3 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,4 @@ await import('./src/env.js');
const withNextIntl = nextIntl('./src/i18n.ts');

/** @type {import("next").NextConfig} */
const config = {};

export default withNextIntl(config);
export default withNextIntl({});
4 changes: 1 addition & 3 deletions postcss.config.cjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
const config = {
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
};

module.exports = config;
4 changes: 1 addition & 3 deletions prettier.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** @type {import('prettier').Config & import('prettier-plugin-tailwindcss').PluginOptions & import("@trivago/prettier-plugin-sort-imports").PluginConfig} */
const config = {
export default {
semi: true,
singleQuote: true,
tabWidth: 2,
Expand All @@ -19,5 +19,3 @@ const config = {
'prettier-plugin-tailwindcss',
],
};

export default config;
8 changes: 4 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
/* Path Aliases */
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
}
"@/*": ["./src/*"],
},
},
"include": [
".eslintrc.cjs",
Expand All @@ -36,7 +36,7 @@
"**/*.tsx",
"**/*.cjs",
"**/*.js",
".next/types/**/*.ts"
".next/types/**/*.ts",
],
"exclude": ["node_modules"]
"exclude": ["node_modules"],
}

0 comments on commit bca86c8

Please sign in to comment.