mirror of
https://github.com/portainer/portainer.git
synced 2025-08-08 15:25:22 +02:00
chore(eslint): add rule to sort imports (#3715)
* chore(eslint): add plugin to sort imports * chore(eslint): sort imports * chore(eslint): add eslint-config-prettier
This commit is contained in:
parent
cf5056d9c0
commit
bba622a500
11 changed files with 172 additions and 283 deletions
|
@ -1,7 +1,7 @@
|
|||
import _ from 'lodash-es';
|
||||
import { AccessControlPanelData } from './porAccessControlPanelModel';
|
||||
import { ResourceControlOwnership as RCO } from 'Portainer/models/resourceControl/resourceControlOwnership';
|
||||
import { ResourceControlTypeString as RCTS, ResourceControlTypeInt as RCTI } from 'Portainer/models/resourceControl/resourceControlTypes';
|
||||
import { AccessControlPanelData } from './porAccessControlPanelModel';
|
||||
|
||||
angular.module('portainer.app').controller('porAccessControlPanelController', [
|
||||
'$q',
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import _ from 'lodash-es';
|
||||
import { RegistryViewModel, RegistryCreateRequest } from '../../models/registry';
|
||||
import { PorImageRegistryModel } from 'Docker/models/porImageRegistry';
|
||||
import { RegistryTypes } from 'Extensions/registry-management/models/registryTypes';
|
||||
import { RegistryViewModel, RegistryCreateRequest } from '../../models/registry';
|
||||
|
||||
angular.module('portainer.app').factory('RegistryService', [
|
||||
'$q',
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { RegistryDefaultModel } from '../../../models/registry';
|
||||
import { RegistryTypes } from 'Extensions/registry-management/models/registryTypes';
|
||||
import { RegistryDefaultModel } from '../../../models/registry';
|
||||
|
||||
angular.module('portainer.app').controller('CreateRegistryController', [
|
||||
'$scope',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue