Skip to content

Commit

Permalink
Merge pull request #484 from jellyfin/nvv-prettier-via-eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsvanvelzen authored Oct 7, 2023
2 parents 83fa27d + 80c8c43 commit 00c17ea
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 16 deletions.
3 changes: 1 addition & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ module.exports = {
'plugin:jsdoc/recommended',
'plugin:json/recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
'plugin:prettier/recommended',
'plugin:promise/recommended',
'plugin:import/errors',
Expand All @@ -30,7 +29,7 @@ module.exports = {
}
}
],
plugins: ['prettier', 'promise', 'import', 'jsdoc'],
plugins: ['promise', 'import', 'jsdoc'],
root: true,
rules: {
'@typescript-eslint/explicit-function-return-type': 'error',
Expand Down
5 changes: 0 additions & 5 deletions .prettierignore

This file was deleted.

6 changes: 0 additions & 6 deletions .prettierrc

This file was deleted.

4 changes: 4 additions & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
semi: true
singleQuote: true
tabWidth: 4
trailingComma: none
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,8 @@
"start": "vite",
"build": "vite build",
"test": "vitest",
"lint": "npm run lint:code && npm run lint:css && npm run prettier",
"lint": "npm run lint:code && npm run lint:css",
"lint:code": "eslint --ext .ts,.js,.json .",
"lint:css": "stylelint src/**/*.css",
"prettier": "prettier --check ."
"lint:css": "stylelint src/**/*.css"
}
}

0 comments on commit 00c17ea

Please sign in to comment.