Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Commit 6da8b8d

Browse files
committed
chore: added .editorconfing, set consistent quotes in import statements
1 parent 6b71a07 commit 6da8b8d

File tree

4 files changed

+18
-5
lines changed

4 files changed

+18
-5
lines changed

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 4
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
max_line_length = 90
11+
quote_type = single
12+
indent_brace_style = K&R
13+
spaces_around_brackets = outside

src/decorator/webstorage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {WebStorageUtility} from "../utility/webstorage.utility";
1+
import {WebStorageUtility} from '../utility/webstorage.utility';
22

33

44
export function LocalStorage(key?: string) {

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import {NgModule} from "@angular/core";
2-
import {LocalStorageService, SessionStorageService} from "./service/webstorage.service";
1+
import {NgModule} from '@angular/core';
2+
import {LocalStorageService, SessionStorageService} from './service/webstorage.service';
33

44
export { WebStorage, LocalStorage, SessionStorage } from './decorator/webstorage'
55
export { WebStorageService, LocalStorageService, SessionStorageService } from './service/webstorage.service';

src/service/webstorage.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import {Injectable} from "@angular/core";
2-
import {WebStorageUtility} from "../utility/webstorage.utility";
1+
import {Injectable} from '@angular/core';
2+
import {WebStorageUtility} from '../utility/webstorage.utility';
33

44
export class WebStorageService {
55
constructor(private storage: Storage) {

0 commit comments

Comments
 (0)