Skip to content

Problems #158

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Nov 13, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
root = true

[*]
indent_style = space
indent_size = 2

end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"node": true,
"jest": true
},
"extends": "airbnb-base"
"extends": ["prettier", "airbnb-base"],
"plugins": ["prettier"]
}
7 changes: 7 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
semi: true,
trailingComma: "all",
singleQuote: true,
printWidth: 120,
tabWidth: 2
};
5 changes: 3 additions & 2 deletions TOC.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Table of Contents
# Table of Contents

### Data Structures
## Data Structures

- [Singly Linked List](src/_DataStructures_/LinkedList)

Expand Down Expand Up @@ -71,6 +71,7 @@
- [Reverse String](src/_Problems_/reverse_string)
- [Maximum Product of Three Numbers](src/_Problems_/max-product-of-3-numbers)
- [Next Greater for Every Element in an Array](src/_Problems_/next-greater-element)
- [Compose Largest Number](src/_Problems_/compose-largest-number)

### Searching

Expand Down
118 changes: 72 additions & 46 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
"devDependencies": {
"eslint": "^5.11.1",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-import": "^2.14.0",
"jest": "^25.0.0"
"eslint-plugin-prettier": "^3.1.1",
"jest": "^25.0.0",
"prettier": "^1.19.1"
}
}
Loading