Skip to content

Commit 322789f

Browse files
author
roman.vasilev
committed
First commit
0 parents  commit 322789f

20 files changed

+507
-0
lines changed

.editorconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 4
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.md]
13+
trim_trailing_whitespace = false
14+
15+
[*.json]
16+
indent_size = 2

.eslintrc.js

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
module.exports = {
2+
'root': true,
3+
'env': {
4+
'node': true
5+
},
6+
'extends': [
7+
'eslint:recommended',
8+
'plugin:unicorn/recommended',
9+
],
10+
'parser': 'typescript-eslint-parser',
11+
'parserOptions': {
12+
'ecmaVersion': 2017,
13+
'sourceType': 'module',
14+
'ecmaFeatures': {
15+
'jsx': false,
16+
},
17+
},
18+
'plugins': [
19+
'unicorn',
20+
'typescript',
21+
'import',
22+
'tslint',
23+
],
24+
'rules': {
25+
'no-undef': 0,
26+
'no-unused-vars': 0,
27+
'indent': 0,
28+
'unicorn/import-index': 0,
29+
'import/newline-after-import': 0,
30+
'import/no-duplicates': 1,
31+
'import/max-dependencies': [1, { 'max': 10 }],
32+
'quotes': [1, 'single', { 'allowTemplateLiterals': true }],
33+
'semi': [1, 'always'],
34+
'tslint/config': [1, {
35+
configFile: 'tsconfig.json',
36+
lintFile: './tslint.json',
37+
}],
38+
}
39+
};

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/node_modules
2+
/.idea
3+
/.awcache
4+
/.vscode
5+
/.nyc_output
6+
*.log
7+
~*
8+
/dist/
9+
/dist_*

.npmignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# .gitignore
2+
/node_modules
3+
/.idea
4+
/.awcache
5+
/.vscode
6+
/.nyc_output
7+
*.log
8+
~*
9+
# .npmignore
10+
/tsconfig.json
11+
/.eslintrc.js
12+
/.editorconfig

.nycrc.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"include": [
3+
"src/**/*.ts",
4+
"src/**/*.tsx"
5+
],
6+
"exclude": [
7+
"**/*.d.ts",
8+
"src/**/*.spec.ts"
9+
],
10+
"extension": [
11+
".ts",
12+
".tsx"
13+
],
14+
"require": [
15+
"ts-node/register/transpile-only"
16+
],
17+
"reporter": [
18+
"text"
19+
],
20+
"sourceMap": true,
21+
"instrument": true
22+
}

.releaserc.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"generateNotes": {
3+
"writerOpts": {
4+
"__keep": "me"
5+
}
6+
},
7+
"verifyConditions": [
8+
"@semantic-release/changelog",
9+
"@semantic-release/github",
10+
"@semantic-release/npm",
11+
"@semantic-release/git"
12+
],
13+
"prepare": [
14+
"@semantic-release/changelog",
15+
"@semantic-release/npm",
16+
"@semantic-release/git"
17+
],
18+
"publish": [
19+
"@semantic-release/npm",
20+
"@semantic-release/github"
21+
],
22+
"success": [
23+
"@semantic-release/github"
24+
],
25+
"fail": [
26+
"@semantic-release/github"
27+
]
28+
}

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2018
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# errorlings
2+
3+
## Changelog
4+
See [CHANGELOG.md](CHANGELOG.md)
5+
6+
## Similar Projects
7+
* https://github.com/shutterstock/node-common-errors

index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './src';

ng-package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"whitelistedNonPeerDependencies": [
3+
"."
4+
],
5+
"lib": {
6+
"entryFile": "src/index.ts"
7+
}
8+
}

0 commit comments

Comments
 (0)