Skip to content

Commit

Permalink
chore: Remove eslint-plugin-prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
freshavocado7 committed Sep 26, 2024
1 parent 52ba3af commit 97cdbcd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ repos:
additional_dependencies:
- 'eslint@^8.57.0'
- 'eslint-config-prettier@^9.1.0'
- 'eslint-plugin-prettier@^5.2.1'
- 'eslint-plugin-import@^2.29.1'
- 'eslint-plugin-unused-imports@^3.1.0'
- 'eslint-plugin-deprecation@^2.0.0'
Expand Down
8 changes: 3 additions & 5 deletions frontend/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ module.exports = {
'plugin:react/recommended',
'plugin:react/jsx-runtime',
'plugin:react-hooks/recommended',
'plugin:storybook/recommended',
'plugin:prettier/recommended'
'plugin:storybook/recommended'
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
Expand All @@ -19,15 +18,14 @@ module.exports = {
version: '18.2'
}
},
plugins: ['react-refresh', 'prettier'],
plugins: ['react-refresh'],
rules: {
'react/jsx-no-target-blank': 'off',
'react/prop-types': 'off',
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true }
],
'max-len': ['error', { code: 100, ignoreUrls: true, ignoreStrings: true }],
'prettier/prettier': ['error']
'max-len': ['error', { code: 100, ignoreUrls: true, ignoreStrings: true }]
}
};
1 change: 0 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"dompurify": "^3.1.6",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.35.2",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.11",
Expand Down

0 comments on commit 97cdbcd

Please sign in to comment.