mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 01:52:22 +00:00
Add eslint rule and fix as many issues as possible
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import {
|
||||
decryptAssymmetric,
|
||||
encryptAssymmetric} from '@app/components/utilities/cryptography/crypto';
|
||||
encryptAssymmetric} from "@app/components/utilities/cryptography/crypto";
|
||||
import {
|
||||
decryptPrivateKeyHelper
|
||||
} from '@app/helpers/key';
|
||||
} from "@app/helpers/key";
|
||||
|
||||
/**
|
||||
* Class to handle key actions
|
||||
@@ -11,7 +11,7 @@ import {
|
||||
* must pass through this class
|
||||
*/
|
||||
class KeyService {
|
||||
private static privateKey: string = '';
|
||||
private static privateKey: string = "";
|
||||
|
||||
static setPrivateKey(privateKey: string) {
|
||||
KeyService.privateKey = privateKey;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { initProjectHelper } from '@app/helpers/project';
|
||||
import { initProjectHelper } from "@app/helpers/project";
|
||||
|
||||
class ProjectService {
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import KeyService from './KeyService';
|
||||
import ProjectService from './ProjectService';
|
||||
import KeyService from "./KeyService";
|
||||
import ProjectService from "./ProjectService";
|
||||
|
||||
export {
|
||||
KeyService,
|
||||
|
||||
Reference in New Issue
Block a user