Merge pull request #2142 from thornbill/fix-imports

Reenable no unresolved import rule and fix playlist imports
This commit is contained in:
Bill Thornton 2020-12-01 10:00:35 -05:00 committed by GitHub
commit ef989bae10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 11 deletions

View File

@ -101,9 +101,7 @@ module.exports = {
// TODO: Fix warnings and remove these rules // TODO: Fix warnings and remove these rules
'no-redeclare': ['off'], 'no-redeclare': ['off'],
'no-useless-escape': ['off'], 'no-useless-escape': ['off'],
'no-unused-vars': ['off'], 'no-unused-vars': ['off']
// TODO: Remove after ES6 migration is complete
'import/no-unresolved': ['off']
}, },
settings: { settings: {
polyfills: [ polyfills: [

View File

@ -1,11 +1,11 @@
import loading from '../../components/loading/loading'; import loading from '../components/loading/loading';
import listView from 'listView'; import listView from '../components/listview/listview';
import cardBuilder from 'cardBuilder'; import cardBuilder from '../components/cardbuilder/cardBuilder';
import libraryMenu from 'libraryMenu'; import libraryMenu from './libraryMenu';
import libraryBrowser from 'libraryBrowser'; import libraryBrowser from './libraryBrowser';
import imageLoader from 'imageLoader'; import imageLoader from '../components/images/imageLoader';
import * as userSettings from '../scripts/settings/userSettings'; import * as userSettings from './settings/userSettings';
import '../../elements/emby-itemscontainer/emby-itemscontainer'; import '../elements/emby-itemscontainer/emby-itemscontainer';
import Dashboard from './clientUtils'; import Dashboard from './clientUtils';
export default function (view, params) { export default function (view, params) {