Skip to content
This repository has been archived by the owner on Jul 5, 2018. It is now read-only.

Commit

Permalink
Add eslint + preitter
Browse files Browse the repository at this point in the history
  • Loading branch information
South-Paw committed Jun 23, 2018
1 parent f166b50 commit 623ac43
Show file tree
Hide file tree
Showing 8 changed files with 1,677 additions and 8 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
15 changes: 15 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module.exports = {
extends: ['airbnb-base', 'prettier'],
env: {
node: true
},
plugins: ['prettier'],
rules: {
'prettier/prettier': 'warn',

'no-await-in-loop': 'off',

// Rules below are all added to remove conflicts with prettier. DO NOT REMOVE
'arrow-parens': 'off',
},
};
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
node_modules
token.txt
*token.txt
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"singleQuote": true,
"trailingComma": "all",
"printWidth": 120
}
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

👽 Scripting the Steam Salien Sale minigame, the proper way.

> A Node.js implementation of https://github.com/SteamDatabase/SalienCheat by [xPaw](https://github.com/xPaw)
> A Node.js implementation of https://github.com/SteamDatabase/SalienCheat by [xPaw](https://github.com/xPaw) with additional features
---

Expand Down Expand Up @@ -31,8 +31,3 @@ const salien = new SalienScript(config);

salien.run();
```

## Other scripts Salien and languages

* [PHP version by xPaw](https://github.com/SteamDatabase/SalienCheat) (original)
* [Python version](https://github.com/SteamDatabase/SalienCheat)
Loading

0 comments on commit 623ac43

Please sign in to comment.