Skip to content

Commit ceb140a

Browse files
authored
Merge pull request #15 from ridvanaltun/next
Next
2 parents 2abf714 + 804b77e commit ceb140a

File tree

5 files changed

+16290
-1811
lines changed

5 files changed

+16290
-1811
lines changed

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx --no-install commitlint --edit "$1"

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm run pre-commit

README.md

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- omit in toc -->
12
# 🍋 Unofficial Ek$i Sozluk Client for Node.js
23

34
[![npm version](https://img.shields.io/npm/v/eksi-sozluk.svg)](https://npmjs.com/package/eksi-sozluk)
@@ -10,19 +11,32 @@
1011

1112
> **This library help you to conquer the Eksi Sozluk in Node.js.**
1213
13-
## Installation
14+
<!-- omit in toc -->
15+
# Table of Contents
16+
17+
- [Installation](#installation)
18+
- [Documentation](#documentation)
19+
- [Tutorials](#tutorials)
20+
- [Development](#development)
21+
- [Commit Messages](#commit-messages)
22+
- [Code Quality](#code-quality)
23+
- [Available Scripts](#available-scripts)
24+
- [Special Thanks](#special-thanks)
25+
- [License](#license)
26+
27+
# Installation
1428

1529
```bash
1630
npm install eksi-sozluk --save
1731
```
1832

19-
## Documentation
33+
# Documentation
2034

2135
Technical documentation is automatically created with [JSDoc](https://github.com/jsdoc/jsdoc) after each new release.
2236

2337
[You can find the technical documentation here!](https://ridvanaltun.github.io/eksi-sozluk/)
2438

25-
### Tutorials
39+
## Tutorials
2640

2741
**IMPORTANT:** The tutorials are not fully covered for all use cases and its not mention all capabilities of the library, don't forget to check technical documentation if you didn't found anything you looking for.
2842

@@ -38,7 +52,7 @@ Technical documentation is automatically created with [JSDoc](https://github.com
3852
- [Questions](https://ridvanaltun.github.io/eksi-sozluk/tutorial-10-questions.html)
3953
- [Miscellaneous](https://ridvanaltun.github.io/eksi-sozluk/tutorial-11-miscellaneous.html)
4054

41-
## Development
55+
# Development
4256

4357
```bash
4458
# clone the repository
@@ -50,23 +64,23 @@ cd eksi-sozluk & npm i
5064

5165
After these steps you can change the code. If you want test your changes; go to `__tests__` folder, find a proper test file or create one if necessary. if the test pass, ensure your code quality and write documentation. All after you are ready to send a PR.
5266

53-
Check [scripts](#npm-scripts) section to learn how to run tests and linter (for [code quality](#code-quality)).
67+
Check [scripts](#available-scripts) section to learn how to run tests and linter (for [code quality](#code-quality)).
5468

55-
### Commit Messages
69+
## Commit Messages
5670

5771
Every commit message must be `conventional commits` format.
5872

5973
[What is Conventional Commits?](https://www.conventionalcommits.org/en/v1.0.0/#summary)
6074

6175
If you don't have a time just use `npm run commit` command instead of use Git.
6276

63-
### Code Quality
77+
## Code Quality
6478

65-
Keeping code quality as good is a hard job in normally. Therefore, we are using EsLint (linter) and Prettier to keep and track the code quality. Not linted pull requests automatically deny from via Travis (CI/CD). You can lint your code using [scripts](#npm-scripts) section.
79+
Keeping code quality as good is a hard job in normally. Therefore, we are using EsLint (linter) and Prettier to keep and track the code quality. Not linted pull requests automatically deny from via Travis (CI/CD). You can lint your code using [scripts](#available-scripts) section.
6680

6781
In short, run `npm run lint` command.
6882

69-
### NPM Scripts
83+
## Available Scripts
7084

7185
```bash
7286
# commit your changes with commitizen
@@ -94,10 +108,10 @@ npm run semantic-release
94108
npm run docs
95109
```
96110

97-
## Special Thanks
111+
# Special Thanks
98112

99113
I would like to thank [@kucukkanat](https://github.com/kucukkanat) the owner original `eksi-sozluk` package for transferring the package's rights to me. The old package was in security holding status, nobody was using it.
100114

101-
## License
115+
# License
102116

103117
[GNU General Public License v3.0](https://github.com/ridvanaltun/eksi-sozluk/blob/master/LICENSE)

0 commit comments

Comments
 (0)