Skip to content

Commit 4f680b1

Browse files
committed
refactor: set project type as module
1 parent e2e2064 commit 4f680b1

File tree

6 files changed

+10
-5
lines changed

6 files changed

+10
-5
lines changed

commitlint.config.cjs

Lines changed: 0 additions & 1 deletion
This file was deleted.

commitlint.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/* eslint-disable import/no-anonymous-default-export */
2+
3+
export default { extends: ['@commitlint/config-conventional'] };
File renamed without changes.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"type": "module",
32
"private": true,
3+
"type": "module",
44
"license": "MIT",
55
"author": {
66
"name": "Doinel Atanasiu",

postcss.config.cjs renamed to postcss.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
module.exports = {
1+
/* eslint-disable import/no-anonymous-default-export */
2+
3+
export default {
24
plugins: {
35
tailwindcss: {},
46
autoprefixer: {},

.prettierrc.cjs renamed to prettier.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
/** @type {import("prettier").Config} */
2-
module.exports = {
1+
/* eslint-disable import/no-anonymous-default-export */
2+
3+
export default {
34
printWidth: 100,
45
tabWidth: 2,
56
useTabs: false,

0 commit comments

Comments
 (0)