Skip to content

Commit 65c451f

Browse files
committed
Tools lists with links
1 parent ce9831c commit 65c451f

File tree

11 files changed

+280
-2
lines changed

11 files changed

+280
-2
lines changed

JavaScript/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# JavaScript Development Tools
2+
| [English](README.md) | [Русский](README.ru.md) |
3+
4+
Required software:
5+
1. Runtime - [Node.js](https://nodejs.org/en/) with packet manager: [npm](https://www.npmjs.com/), [code example](examples/example.js)
6+
2. Linter - Code style and syntax templates checker - [ESLint](http://eslint.org/), [config example](examples/.eslintrc.yml)
7+
3. VCS - Version Control System - [GitHub](https://github.com/), [GIT](https://git-scm.com/), [GUI](https://desktop.github.com/)
8+
9+
Optional tools:
10+
1. IDE - Integrated development environment: [Brackets](http://brackets.io/), [Atom](https://atom.io/), [Webstorm](https://www.jetbrains.com/webstorm/)
11+
2. CI - Continuous Integration - [TravisCI](https://travis-ci.org/), [config example](examples/.travis.yml)
12+
3. Code analysis: [BitHound](https://www.bithound.io/), [config example](examples/.bithoundrc), [Codacy](https://www.codacy.com/)
13+
4. Browser JS Runtime - [JSFiddle](https://jsfiddle.net/)

JavaScript/README.ru.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Инструменты разработчика JavaScript
2+
| [English](README.md) | [Русский](README.ru.md) |
3+
4+
Обязательные компоненты:
5+
1. Runtime - [Node.js](https://nodejs.org/en/) с менеджером пакетов: [npm](https://www.npmjs.com/), [примеры кода](examples/example.js)
6+
2. Линтер - проверка стиля кода и анализ синтаксиса - [ESLint](http://eslint.org/), [пример конфигурации](examples/.eslintrc.yml)
7+
3. VCS - система контроля версий - [GitHub](https://github.com/), [GIT](https://git-scm.com/), [GUI](https://desktop.github.com/)
8+
9+
Опциональные компоненты:
10+
1. IDE - редактор или среда разработки: [Brackets](http://brackets.io/), [Atom](https://atom.io/), [Webstorm](https://www.jetbrains.com/webstorm/)
11+
2. CI - непрерывная интеграция - [TravisCI](https://travis-ci.org/), [пример конфигурации](examples/.travis.yml)
12+
3. Code analysis: [BitHound](https://www.bithound.io/), [пример конфигурации](examples/.bithoundrc), [Codacy](https://www.codacy.com/)
13+
4. Среда запуска в браузере - [JSFiddle](https://jsfiddle.net/)

JavaScript/examples/.bithoundrc

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"dependencies": {
3+
"unused-ignores": [
4+
"mkdirp",
5+
"bcrypt"
6+
]
7+
},
8+
"critics": {
9+
"lint": {
10+
"engine": "eslint"
11+
},
12+
"wc": {
13+
"limit": 40000
14+
}
15+
},
16+
"ignore": [
17+
"**/node_modules/**",
18+
"tests/**"
19+
],
20+
"test": [
21+
"tests/**"
22+
]
23+
}

JavaScript/examples/.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules/
2+
tests/

JavaScript/examples/.eslintrc.yml

Lines changed: 173 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
env:
2+
es6: true
3+
node: true
4+
extends: 'eslint:recommended'
5+
globals:
6+
api: false
7+
rules:
8+
indent:
9+
- error
10+
- 2
11+
- SwitchCase: 1
12+
VariableDeclarator:
13+
var: 2
14+
let: 2
15+
const: 3
16+
MemberExpression: 1
17+
linebreak-style:
18+
- error
19+
- unix
20+
quotes:
21+
- error
22+
- single
23+
semi:
24+
- error
25+
- always
26+
eqeqeq:
27+
- error
28+
- always
29+
no-loop-func:
30+
- error
31+
strict:
32+
- error
33+
- global
34+
block-spacing:
35+
- error
36+
- always
37+
brace-style:
38+
- error
39+
- 1tbs
40+
- allowSingleLine: true
41+
camelcase:
42+
- error
43+
comma-style:
44+
- error
45+
- last
46+
comma-spacing:
47+
- error
48+
- before: false
49+
after: true
50+
eol-last:
51+
- error
52+
func-call-spacing:
53+
- error
54+
- never
55+
key-spacing:
56+
- error
57+
- beforeColon: false
58+
afterColon: true
59+
mode: minimum
60+
keyword-spacing:
61+
- error
62+
- before: true
63+
after: true
64+
overrides:
65+
function:
66+
after: false
67+
max-len:
68+
- error
69+
- code: 80
70+
ignoreUrls: true
71+
max-nested-callbacks:
72+
- error
73+
- max: 7
74+
new-cap:
75+
- error
76+
- newIsCap: true
77+
capIsNew: true
78+
properties: true
79+
new-parens:
80+
- error
81+
no-lonely-if:
82+
- error
83+
no-trailing-spaces:
84+
- error
85+
no-unneeded-ternary:
86+
- error
87+
no-whitespace-before-property:
88+
- error
89+
object-curly-spacing:
90+
- error
91+
- always
92+
operator-assignment:
93+
- error
94+
- always
95+
operator-linebreak:
96+
- error
97+
- after
98+
semi-spacing:
99+
- error
100+
- before: false
101+
after: true
102+
space-before-blocks:
103+
- error
104+
- always
105+
space-before-function-paren:
106+
- error
107+
- never
108+
space-in-parens:
109+
- error
110+
- never
111+
space-infix-ops:
112+
- error
113+
space-unary-ops:
114+
- error
115+
- words: true
116+
nonwords: false
117+
overrides:
118+
typeof: false
119+
no-unreachable:
120+
- error
121+
no-global-assign:
122+
- error
123+
no-self-compare:
124+
- error
125+
no-unmodified-loop-condition:
126+
- error
127+
no-constant-condition:
128+
- error
129+
- checkLoops: false
130+
no-console:
131+
- off
132+
no-useless-concat:
133+
- error
134+
no-useless-escape:
135+
- error
136+
no-shadow-restricted-names:
137+
- error
138+
no-use-before-define:
139+
- error
140+
- functions: false
141+
arrow-body-style:
142+
- error
143+
- as-needed
144+
arrow-spacing:
145+
- error
146+
no-confusing-arrow:
147+
- error
148+
- allowParens: true
149+
no-useless-computed-key:
150+
- error
151+
no-useless-rename:
152+
- error
153+
no-var:
154+
- error
155+
object-shorthand:
156+
- error
157+
- always
158+
prefer-arrow-callback:
159+
- error
160+
prefer-const:
161+
- error
162+
prefer-numeric-literals:
163+
- error
164+
prefer-rest-params:
165+
- error
166+
prefer-spread:
167+
- error
168+
rest-spread-spacing:
169+
- error
170+
- never
171+
template-curly-spacing:
172+
- error
173+
- never

JavaScript/examples/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules
2+
/log/
3+
*.log
4+
.DS_Store

JavaScript/examples/.npmignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules
2+
/log/
3+
*.log
4+
.DS_Store

JavaScript/examples/.travis.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
language: node_js
2+
node_js:
3+
- "6.0"
4+
- "6.1"
5+
- "6.2"
6+
- "6.3"
7+
- "6.4"
8+
- "6.5"
9+
- "6.6"
10+
- "6.7"
11+
- "6.8"
12+
- "6.9"
13+
- "7.0"
14+
- "7.1"
15+
- "7.2"
16+
- "7.3"
17+
- "7.4"
18+
- "7.5"
19+
install:
20+
- npm install
21+
script:
22+
- node --stack-trace-limit=1000 example.js
23+
- npm run lint

JavaScript/examples/example.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
'use strict';
2+
3+
global.api = {};
4+
api.fs = require('fs');
5+
6+
api.fs.readFile('example.js', (err, data) => {
7+
if (err) return console.error(err);
8+
console.log(data.toString());
9+
});

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1-
# Tools
2-
Development tools and environment configuration
1+
# Development Tools
2+
| [English](README.md) | [Русский](README.ru.md) |
3+
4+
Here are development tools and environment configuration for following languages:
5+
1. [JavaScript](JavaScript/README.md)
6+
2. Haskell
7+
3. Python
8+
4. C++

0 commit comments

Comments
 (0)