Skip to content

Commit 139eda6

Browse files
fix: linter config
1 parent c323f86 commit 139eda6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.eslintrc.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ module.exports = {
1515
},
1616
plugins: [
1717
'unicorn',
18+
'prettier',
1819
'@typescript-eslint',
1920
'unused-imports',
2021
'tailwindcss',
@@ -38,6 +39,7 @@ module.exports = {
3839
'.eslintrc.js',
3940
],
4041
rules: {
42+
"prettier/prettier": "error",
4143
'import/no-duplicates': 'error',
4244
'@typescript-eslint/no-explicit-any': 'error',
4345
'unicorn/filename-case': [
@@ -113,6 +115,7 @@ module.exports = {
113115
files: ['src/translations/*.json'],
114116
extends: ['plugin:i18n-json/recommended'],
115117
rules: {
118+
"@typescript-eslint/ban-types": "off",
116119
'i18n-json/valid-message-syntax': [
117120
2,
118121
{
@@ -146,7 +149,7 @@ module.exports = {
146149
{
147150
// Configuration for testing files
148151
files: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'],
149-
extends: ['plugin:testing-library/react'],
152+
extends: ['plugin:testing-library/react', "prettier"],
150153
},
151154
],
152155
};

0 commit comments

Comments
 (0)