style: improve linting of imports

A new plugin is used that offers autofixing capabilities.
This commit is contained in:
Ruben Taelman
2020-08-26 10:35:51 +02:00
committed by Joachim Van Herwegen
parent 5126356c94
commit 48740e5cba
74 changed files with 781 additions and 246 deletions

View File

@@ -1,7 +1,7 @@
import { AsyncHandler } from '../util/AsyncHandler';
import { Credentials } from '../authentication/Credentials';
import { PermissionSet } from '../ldp/permissions/PermissionSet';
import { ResourceIdentifier } from '../ldp/representation/ResourceIdentifier';
import { AsyncHandler } from '../util/AsyncHandler';
/**
* Verifies if the given credentials have access to the given permissions on the given resource.

View File

@@ -1,17 +1,17 @@
import { AclManager } from './AclManager';
import { ContainerManager } from '../storage/ContainerManager';
import { CONTENT_TYPE_QUADS } from '../util/ContentTypes';
import { Quad, Store, Term } from 'n3';
import { Credentials } from '../authentication/Credentials';
import { ForbiddenHttpError } from '../util/errors/ForbiddenHttpError';
import { NotFoundHttpError } from '../util/errors/NotFoundHttpError';
import { PermissionSet } from '../ldp/permissions/PermissionSet';
import { Representation } from '../ldp/representation/Representation';
import { ResourceIdentifier } from '../ldp/representation/ResourceIdentifier';
import { ContainerManager } from '../storage/ContainerManager';
import { ResourceStore } from '../storage/ResourceStore';
import { CONTENT_TYPE_QUADS } from '../util/ContentTypes';
import { ForbiddenHttpError } from '../util/errors/ForbiddenHttpError';
import { NotFoundHttpError } from '../util/errors/NotFoundHttpError';
import { UnauthorizedHttpError } from '../util/errors/UnauthorizedHttpError';
import { ACL, FOAF } from './AclConstants';
import { AclManager } from './AclManager';
import { Authorizer, AuthorizerArgs } from './Authorizer';
import { Quad, Store, Term } from 'n3';
/**
* Handles most web access control predicates such as

View File

@@ -1,5 +1,5 @@
import { AclManager } from './AclManager';
import { ResourceIdentifier } from '../ldp/representation/ResourceIdentifier';
import { AclManager } from './AclManager';
/**
* Generates acl URIs by adding an .acl file extension.