mirror of
https://github.com/jellyfin/jellyfin-chromecast.git
synced 2024-11-23 05:59:50 +00:00
Always run Prettier via ESLint
This commit is contained in:
parent
83fa27dda6
commit
80c8c43d80
@ -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',
|
||||
@ -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',
|
||||
|
@ -1,5 +0,0 @@
|
||||
dist/
|
||||
node_modules/
|
||||
package-lock.json
|
||||
|
||||
LICENSE.md
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"semi": true,
|
||||
"singleQuote": true,
|
||||
"tabWidth": 4,
|
||||
"trailingComma": "none"
|
||||
}
|
4
.prettierrc.yaml
Normal file
4
.prettierrc.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
semi: true
|
||||
singleQuote: true
|
||||
tabWidth: 4
|
||||
trailingComma: none
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user