Skip to content

Commit

Permalink
feature: implement contest.status module
Browse files Browse the repository at this point in the history
The commit adds the contest.status module, also it made the setup
for the CodeforcesClient module, with few of the interfaces for CF API.
  • Loading branch information
khaled-hamam committed Nov 7, 2019
1 parent 2cba440 commit 3cc5c2c
Show file tree
Hide file tree
Showing 18 changed files with 4,940 additions and 196 deletions.
14 changes: 13 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ module.exports = {
env: {
es6: true,
node: true,
"jest/globals": true
},
extends: [
'airbnb-base',
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
"plugin:prettier/recommended",
"plugin:jest/recommended"
],
globals: {
Atomics: 'readonly',
Expand All @@ -19,9 +21,19 @@ module.exports = {
},
plugins: [
'@typescript-eslint',
'jest'
],
rules: {
"@typescript-eslint/no-unused-vars": 2,
"import/prefer-default-export": 0,
"no-underscore-dangle": 0,
"class-methods-use-this": 0,
},
settings: {
"import/resolver": {
node: {
extensions: [".js", ".ts"]
}
}
}
};
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"eslint.autoFixOnSave": true,
"eslint.validate": [
{ "language": "typescript", "autoFix": true },
]
],
"cSpell.words": ["Codeforces"]
}
9 changes: 9 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
roots: [
"./src"
],
transform: {
"^.+\\.tsx?$": "ts-jest"
},
setupFiles: ["dotenv/config"],
}
Loading

0 comments on commit 3cc5c2c

Please sign in to comment.