Skip to content

Commit 1753ad9

Browse files
committed
📦 NEW: config files
1 parent 5c7126a commit 1753ad9

25 files changed

+814
-620
lines changed

‎.editorconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
root = true
2+
3+
[*]
4+
indent_style = tab
5+
end_of_line = lf
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true

‎.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

‎.prettierrc.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"trailingComma": "none",
3+
"arrowParens": "avoid",
4+
"singleQuote": true,
5+
"printWidth": 80,
6+
"useTabs": true,
7+
"tabWidth": 4,
8+
"semi": true
9+
}

‎index.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@
66
* Twitter: https://twitter.com/msaaddev
77
*/
88

9-
const clear = require("clear");
10-
const header = require("./utils/header.js");
11-
const options = require("./utils/options.js");
12-
const auth = require("./utils/authentication.js");
9+
const clear = require('clear');
10+
const header = require('./utils/header.js');
11+
const options = require('./utils/options.js');
12+
const auth = require('./utils/authentication.js');
1313

1414
const cli = async () => {
15-
clear();
16-
header();
17-
try {
18-
await auth();
19-
} catch (err) {}
20-
options();
15+
clear();
16+
header();
17+
try {
18+
await auth();
19+
} catch (err) {}
20+
options();
2121
};
2222

2323
cli();

0 commit comments

Comments
 (0)