Skip to content

Commit

Permalink
Merge pull request #3 from khaled-hamam/dev
Browse files Browse the repository at this point in the history
release: version-0.0.1
  • Loading branch information
khaled-hamam authored Nov 7, 2019
2 parents bc1cbd7 + 82f54e7 commit a216e53
Show file tree
Hide file tree
Showing 19 changed files with 6,514 additions and 3 deletions.
39 changes: 39 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
module.exports = {
env: {
es6: true,
node: true,
"jest/globals": true
},
extends: [
'airbnb-base',
"prettier/@typescript-eslint",
"plugin:prettier/recommended",
"plugin:jest/recommended"
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
},
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"]
}
}
}
};
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"semi": true,
"trailingComma": "all",
"singleQuote": true,
"printWidth": 120,
"tabWidth": 2
}
9 changes: 9 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"editor.formatOnSave": false,
"eslint.enable": true,
"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 a216e53

Please sign in to comment.