Skip to content

Commit

Permalink
init: start christmas-task-part1
Browse files Browse the repository at this point in the history
  • Loading branch information
Bonamente committed Dec 8, 2021
1 parent fc6985e commit 9d02a90
Show file tree
Hide file tree
Showing 109 changed files with 16,140 additions and 0 deletions.
64 changes: 64 additions & 0 deletions christmas-task-part1/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"airbnb-typescript/base",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"prettier",
"import"
],
"rules": {
"no-console": "off",
"max-len": [
"warn",
{
"code": 120
}
],
"indent": [
"warn",
2,
{
"SwitchCase": 1
}
],
"@typescript-eslint/indent": [
"warn",
2,
{
"SwitchCase": 1
}
],
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-explicit-any": "warn",
"import/prefer-default-export": "off",
"no-param-reassign": [
"error",
{
"props": false
}
],
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
]
},
"ignorePatterns": [
"*config.js"
]
}
31 changes: 31 additions & 0 deletions christmas-task-part1/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
*.*~

.vscode
.vs
.idea

# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates

# Logs
logs
*.log
npm-debug.log*

# Dependency directories
node_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Build results
dist
7 changes: 7 additions & 0 deletions christmas-task-part1/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"printWidth": 120
}
Loading

0 comments on commit 9d02a90

Please sign in to comment.