-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from enb-make/issue-18
Issue 18 Implement tests for borschik technology
- Loading branch information
Showing
19 changed files
with
951 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[package.json] | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
module.exports = { | ||
excludeFiles: [ | ||
'node_modules', | ||
'coverage', | ||
'test' | ||
], | ||
requireSpaceAfterKeywords: ['if', 'else', 'for', 'while', 'do', 'switch', 'return', 'try', 'catch'], | ||
requireSpaceBeforeBlockStatements: true, | ||
requireSpacesInConditionalExpression: true, | ||
requireSpacesInFunction: { | ||
beforeOpeningCurlyBrace: true | ||
}, | ||
requireSpacesInAnonymousFunctionExpression: { | ||
beforeOpeningRoundBrace: true | ||
}, | ||
disallowSpacesInNamedFunctionExpression: { | ||
beforeOpeningRoundBrace: true | ||
}, | ||
requireMultipleVarDecl: true, | ||
requireBlocksOnNewline: 1, | ||
disallowPaddingNewlinesInBlocks: true, | ||
disallowSpacesInsideArrayBrackets: 'nested', | ||
disallowSpacesInsideParentheses: true, | ||
requireSpacesInsideObjectBrackets: 'all', | ||
disallowQuotedKeysInObjects: 'allButReserved', | ||
disallowSpaceAfterObjectKeys: true, | ||
requireCommaBeforeLineBreak: true, | ||
requireOperatorBeforeLineBreak: true, | ||
disallowSpaceAfterPrefixUnaryOperators: true, | ||
disallowSpaceBeforePostfixUnaryOperators: true, | ||
requireSpaceBeforeBinaryOperators: true, | ||
requireSpaceAfterBinaryOperators: true, | ||
requireCamelCaseOrUpperCaseIdentifiers: true, | ||
disallowKeywords: ['with'], | ||
disallowMultipleLineStrings: true, | ||
disallowMultipleLineBreaks: true, | ||
validateLineBreaks: 'LF', | ||
validateQuoteMarks: { | ||
mark: '\'', | ||
escape: true | ||
}, | ||
disallowMixedSpacesAndTabs: true, | ||
disallowTrailingWhitespace: true, | ||
disallowKeywordsOnNewLine: ['else', 'catch'], | ||
requireLineFeedAtFileEnd: true, | ||
maximumLineLength: 120, | ||
requireCapitalizedConstructors: true, | ||
safeContextKeyword: ['_this'], | ||
disallowYodaConditions: true, | ||
validateJSDoc: { | ||
checkParamNames: true, | ||
checkRedundantParams: true, | ||
requireParamTypes: true | ||
}, | ||
requireSpaceAfterLineComment: true, | ||
disallowNewlineBeforeBlockStatements: true | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
node_modules | ||
coverage | ||
test/fixtures |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
{ | ||
"bitwise": true, | ||
"curly": true, | ||
"eqeqeq": true, | ||
"forin": true, | ||
"freeze": true, | ||
"immed": true, | ||
"newcap": true, | ||
"latedef": "nofunc", | ||
"noarg": true, | ||
"noempty": true, | ||
"nonbsp": true, | ||
"nonew": true, | ||
"undef": true, | ||
"unused": true, | ||
"trailing": true, | ||
"maxlen": 120, | ||
"quotmark": "single", | ||
"node": true | ||
|
||
"node": true, | ||
|
||
"expr": true, | ||
"sub": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
sudo: false | ||
|
||
language: node_js | ||
|
||
node_js: | ||
- "0.10" | ||
matrix: | ||
include: | ||
- node_js: iojs-v1 | ||
- node_js: "0.10" | ||
- node_js: "0.12" | ||
env: COVERALLS=1 | ||
|
||
after_success: | ||
- if [ "x$COVERALLS" = "x1" ]; then npm run coveralls; fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
Контрибьюторам | ||
============== | ||
|
||
Этот документ описывает некоторые положения о совместной работе над проектом `enb-borschik`. | ||
|
||
Мейнтейнер проекта — [Андрей Абрамов (@blond)](https://github.com/blond). | ||
|
||
Проект развивается с помощью сообщества. Мейнтейнер мерджит пулл-реквесты, исправляет особо критичные баги. | ||
|
||
Контрибьютеры | ||
------------- | ||
|
||
Список контрибьютеров данного проекта доступен по ссылке https://github.com/enb-make/enb-borschik/graphs/contributors. | ||
|
||
Вы так же можете получить его с помощью команды `git log --pretty=format:"%an <%ae>" | sort -u`. | ||
|
||
Пулл-реквесты | ||
------------- | ||
|
||
Если вы что-то исправили или добавили в пакет `enb-borschik`, вы можете отправить пулл-реквест. Он будет рассмотрен мейнтейнером и, | ||
либо принят, либо прокомментирован для дальнейшей доработки, либо отклонен. | ||
|
||
Ошибки | ||
------ | ||
|
||
Если вы нашли ошибку, недоделку, опечатку и вообще любой дефект в `enb-borschik`, пожалуйста, сообщите об этом, используя github-issues. | ||
И да. Чем подробнее вы опишите ошибку, тем быстрее её смогут воспроизвести и исправить, и тем больше ментейнеры будут вам признательны :) | ||
К сожалению, неизбежны ситуации, когда ошибка будет воспроизводиться только на вашем проекте или в вашем серверном окружении, и ментейнер | ||
не сможет не только исправить, а даже воспроизвести её. В таких случаях, мы будем верить, вы сами сможете найти нужное исправление и со временем предложить ментейнеру фикс. | ||
|
||
Фичи | ||
---- | ||
|
||
Если вы придумали новую фичу, весьма вероятно, что её реализацию вам придётся писать самому. | ||
Но вы не постесняйтесь, спросите у ментейнеров имена разработчиков, которые хорошо разбираются в `enb-borschik` — с ними можно скооперироваться, чтобы реализовать вашу задумку. | ||
Если вы не можете её реализовать сами и не смогли заинтересовать других крутых разработчиков, но фича невероятно крутая — заведите таск в Issues, что-нибудь придумаем. | ||
В крайнем случае объясним вам, что хотеть эту фичу вам не нужно. Или что с ней нужно повременить. Но это в крайнем случае :) |
Oops, something went wrong.