Skip to content

Commit b0571d1

Browse files
committedDec 4, 2019
Setting up for new begginings
1 parent 05656b9 commit b0571d1

File tree

2 files changed

+31
-17
lines changed

2 files changed

+31
-17
lines changed
 

‎.eslintrc.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ module.exports = {
33
env: { es6: true },
44
rules: {
55
"indent": ["error", 2],
6-
"quotes": ["error", "double"],
7-
"semi": ["error", "always"],
8-
"eol-last": ["error", "never"],
9-
"no-multiple-empty-lines": ["error", { max: 1 }],
10-
"no-var": ["error"]
6+
"no-multiple-empty-lines": ["error", { max: 1 }]
117
}
128
};

‎docs/README.md

+30-12
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,45 @@
1-
# Javascript Basics
1+
# Learn JavaScript
22

33
This repository was made for beginners to start learning Javascript from Scratch
44

5-
## ESLint
6-
7-
Lint your js file with eslint After making your changes or adding your contributions, lint your javascript files with eslint by running following command
8-
9-
10-
```sh
11-
$ npm run lint:fix
12-
```
13-
145
## Documentation
156

167
This repository uses [Docsify](https://docsify.js.org) for generating documentation website on the fly.
178

9+
if you want run Docsify you must use latest version of node (now is v13.0.1)
10+
read this issue [#299](https://github.com/Swap76/Learn-JavaScript/issues/299)
11+
12+
1813
**Steps:**
19-
1. Install `docsify-cli` globally.
14+
1. Install dependencies
2015
```
21-
npm i docsify-cli -g
16+
npm install
2217
```
2318
2. Then run the following command to serve the documentation.
2419
```
2520
npm run serve-docs
2621
```
2722
3. Now you can preview documentation site in your browser by visiting `http://localhost:3000`.
23+
24+
## ESLint
25+
26+
After making your changes or adding your contributions, lint your javascript files with eslint by running following command.
27+
While linting many errors may arise don't try to fix errors from other files except yours as this is tutorial repo some mistakes are intenstion.
28+
29+
```sh
30+
$ npm run lint:fix
31+
```
32+
33+
## References
34+
35+
### [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript)
36+
One of the famous reference site for Javascript, it introduces from beginning to the advance concept
37+
38+
### [w3schols.com](https://www.w3schools.com/js/)
39+
W3Schools is an educational website for learning web technologies online. Content includes tutorials and references relating to HTML, CSS, JavaScript
40+
41+
### [The Modern JavaScrit Tutoial](https://javascript.info/)
42+
This web site introduces JavaScript with well-sorted topics, so it helps to see overview
43+
44+
### [TutorialPoint](https://www.tutorialspoint.com/index.htm)
45+
They provides a vaiety of media such as video, eBooks, so it would be helpful, it you look for another learning materials

0 commit comments

Comments
 (0)
Please sign in to comment.