Remove dfnshelper global for eslint

This commit is contained in:
Bill Thornton 2022-11-04 02:24:30 -04:00
parent 1473a793e5
commit 968bfb52fb
2 changed files with 5 additions and 4 deletions

View file

@ -224,7 +224,6 @@ module.exports = {
'Emby': 'readonly',
'Globalize': 'writable',
'Hls': 'writable',
'dfnshelper': 'writable',
'LibraryMenu': 'writable',
'LinkParser': 'writable',
'LiveTvHelpers': 'writable',

View file

@ -121,10 +121,12 @@ const config = {
let name = `node_modules.${parts[0]}`;
if (parts[1]) {
name += `.${parts[1]}`;
}
if (parts[1] === 'locale') {
if (parts[1] === 'locale' && parts[2]) {
name += `.${parts[2]}`;
}
}
return name;
}