Skip to content

Commit 09e132b

Browse files
committed
linting
1 parent 8a42948 commit 09e132b

File tree

13 files changed

+2119
-536
lines changed

13 files changed

+2119
-536
lines changed

.eslintrc.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"commonjs": true,
5+
"es2020": true,
6+
"node": true
7+
},
8+
"extends": ["airbnb-base", "plugin:prettier/recommended"],
9+
"plugins": ["prettier"],
10+
"parserOptions": {
11+
"ecmaVersion": 11,
12+
"sourceType": "module"
13+
},
14+
"rules": {
15+
"func-names": "off"
16+
}
17+
}

.prettierrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"printWidth": 100,
3+
"singleQuote": true
4+
}

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"eslint.enable": true
3+
}

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# CryptoFS
2+
23
A secure, cryptographic file upload system POC. It uses digital signature as a form of user authentication, and uses file content hashing to reduce duplication of files. All content stored is encrypted, except for the files themselves.
34
Public-private key pairs are generated based on browser access.
45

@@ -9,6 +10,7 @@ Public-private key pairs are generated based on browser access.
910
- Run `npm start`
1011

1112
## Future steps
13+
1214
- Split file into parts and encrypt into multiple storage buckets
1315
- Add a proper user authentication front
14-
- Add checks for file sizes
16+
- Add checks for file sizes

0 commit comments

Comments
 (0)