Skip to content

Commit

Permalink
chore(eslint): remove prettier plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
smellai committed Jun 20, 2024
1 parent e05434f commit f553b95
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 66 deletions.
4 changes: 1 addition & 3 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'node', 'prettier'],
plugins: ['@typescript-eslint', 'node'],
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig.json'],
Expand All @@ -12,10 +12,8 @@ module.exports = {
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/recommended-requiring-type-checking',
'plugin:prettier/recommended',
],
rules: {
'prettier/prettier': 'warn',
'node/no-missing-import': 'off',
'node/no-empty-function': 'off',
'node/no-unsupported-features/es-syntax': 'off',
Expand Down
68 changes: 7 additions & 61 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"clean": "rm -rf ./lib/",
"cm": "cz",
"lint": "eslint ./src/ --fix",
"prettier": "prettier --write src/",
"prepare": "husky",
"semantic-release": "semantic-release",
"test:watch": "jest --watch",
Expand Down Expand Up @@ -67,9 +68,7 @@
"@typescript-eslint/parser": "^5.59.6",
"conventional-changelog-conventionalcommits": "^8.0.0",
"eslint": "^8.40.0",
"eslint-config-prettier": "^8.7.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-staged": "^15.2.7",
Expand Down

0 comments on commit f553b95

Please sign in to comment.