1
0
Fork 0
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:
Bill Thornton 2022-04-13 11:02:20 -04:00
parent 1c69652a55
commit ba5fbf831e
2 changed files with 13 additions and 1 deletions

View file

@ -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',