Skip to content

Commit

Permalink
Merge pull request #2 from khaled-hamam/contest-status
Browse files Browse the repository at this point in the history
feature: implement contest.status module
  • Loading branch information
khaled-hamam authored Nov 7, 2019
2 parents 2cba440 + 3cc5c2c commit 82f54e7
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 82f54e7

Please sign in to comment.