mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add linting for config files and scripts
This commit is contained in:
parent
1c69652a55
commit
ba5fbf831e
2 changed files with 13 additions and 1 deletions
12
.eslintrc.js
12
.eslintrc.js
|
@ -162,6 +162,17 @@ module.exports = {
|
|||
]
|
||||
},
|
||||
overrides: [
|
||||
// Config files and development scripts
|
||||
{
|
||||
files: [
|
||||
'./babel.config.js',
|
||||
'./.eslintrc.js',
|
||||
'./postcss.config.js',
|
||||
'./webpack.*.js',
|
||||
'./scripts/**/*.js'
|
||||
]
|
||||
},
|
||||
// JavaScript source files
|
||||
{
|
||||
files: [
|
||||
'./src/**/*.js',
|
||||
|
@ -211,6 +222,7 @@ module.exports = {
|
|||
rules: {
|
||||
}
|
||||
},
|
||||
// TypeScript source files
|
||||
{
|
||||
files: [
|
||||
'./src/**/*.ts',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue