Skip to content

Commit 13bfa06

Browse files
committed
Merge branch 'master' of https://github.com/stackr23/logger
2 parents a22e803 + 7c099c6 commit 13bfa06

File tree

10 files changed

+169
-148
lines changed

10 files changed

+169
-148
lines changed

.eslintrc

Lines changed: 52 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,64 @@
11
{
2-
"extends": ["airbnb"],
2+
"extends": "./node_modules/@viewar/config-eslint/env/react",
33
"parser": "babel-eslint",
44
"parserOptions": {
55
"sourceType": "module",
6-
"ecmaVersion": "2018",
6+
"ecmaVersion": "2021",
77
"ecmaFeatures": {
88
"jsx": true,
99
"modules": true
1010
}
1111
},
1212
"rules": {
1313
"indent": ["error", 4],
14-
"no-multi-spaces": ["error", {
15-
"exceptions": {
16-
"VariableDeclarator": true,
17-
"ImportDeclaration": true,
18-
"AssignmentExpression": true,
19-
"ClassProperty": true
14+
"no-multi-spaces": [
15+
"error",
16+
{
17+
"exceptions": {
18+
"VariableDeclarator": true,
19+
"ImportDeclaration": true,
20+
"AssignmentExpression": true,
21+
"ClassProperty": true
22+
}
2023
}
21-
}],
22-
"key-spacing": ["error", {
24+
],
25+
"key-spacing": [
26+
"error",
27+
{
2328
"multiLine": {
24-
"beforeColon": false,
25-
"afterColon": true
29+
"beforeColon": false,
30+
"afterColon": true
2631
},
2732
"align": {
28-
"mode": "minimum",
29-
"on": "value"
33+
"mode": "minimum",
34+
"on": "value"
3035
}
31-
}],
32-
"no-multiple-empty-lines": [2, { "max": 2}],
36+
}
37+
],
38+
"no-multiple-empty-lines": [
39+
2,
40+
{
41+
"max": 2
42+
}
43+
],
3344
"semi": ["error", "never"],
34-
"one-var": ["error", {
35-
"const": "never",
36-
"var": "consecutive",
37-
"let": "consecutive",
38-
"separateRequires": true
39-
}],
45+
"one-var": [
46+
"error",
47+
{
48+
"const": "never",
49+
"var": "consecutive",
50+
"let": "consecutive",
51+
"separateRequires": true
52+
}
53+
],
4054
"linebreak-style": 0,
41-
"arrow-parens": ["error", "as-needed", {"requireForBlockBody": true}],
55+
"arrow-parens": [
56+
"error",
57+
"as-needed",
58+
{
59+
"requireForBlockBody": true
60+
}
61+
],
4262
"no-param-reassign": "warn",
4363
"no-console": "warn",
4464
"no-unused-vars": "warn",
@@ -48,14 +68,19 @@
4868
// ES6 rules
4969
// These rules are only relevant to ES6 environments and are off by default.
5070
"no-var": 2, // require let or const instead of var (off by default)
51-
"import/no-extraneous-dependencies": ["error", {
52-
"devDependencies": true, "optionalDependencies": false, "peerDependencies": false
53-
}],
71+
"import/no-extraneous-dependencies": [
72+
"error",
73+
{
74+
"devDependencies": true,
75+
"optionalDependencies": false,
76+
"peerDependencies": false
77+
}
78+
],
5479
// ABSS Keep it simple! tip: turn off word-wrap!
5580
"max-depth": [1, 3], // specify the maximum depth that blocks can be nested (off by default)
5681
"max-len": [2, 255, 2], // specify the maximum length of a line in your program (off by default)
5782
"max-params": [2, 7], // limits the number of parameters that can be used in the function declaration. (off by default)
5883
"max-statements": 0, // specify the maximum number of statement allowed in a function (off by default)
59-
"no-bitwise": 0, // disallow use of bitwise operators (off by default)
84+
"no-bitwise": 0 // disallow use of bitwise operators (off by default)
6085
}
6186
}

.gitignore

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,18 @@
1-
# Environment
2-
.env
3-
4-
# ignore only the root .htaccess (may contain sensible data)
5-
.htaccess
6-
7-
# NPM
1+
# node
82
node_modules/
9-
npm-debug.log
103
package-lock.json
11-
# yarn.lock
4+
yarn.lock
125

13-
# Wordpress
14-
wp-config.php
6+
# build
7+
build/
8+
dist/
159

16-
# IDE
17-
.idea
18-
*.sublime-*
10+
#log files
11+
*.log
1912

20-
# MISC
13+
# misc
2114
.DS_Store
22-
23-
# dist
24-
!dist
25-
dist/**/*
26-
!build
27-
build/**/*
15+
Thumbs.db
16+
.idea/
17+
*.sublime-project
18+
*.sublime-workspace

.vscode/settings.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"editor.formatOnSaveTimeout": 500,
3+
"editor.defaultFormatter": "teeLang.vsprettier",
4+
"vsprettier.requireConfig": true,
5+
"vsprettier.packageManager": "npm",
6+
"vsprettier.useEsLint": false,
7+
"vsprettier.useStyleLint": true,
8+
"editor.codeActionsOnSave": {
9+
"source.fixAll.eslint": true
10+
},
11+
"eslint.alwaysShowStatus": true,
12+
"eslint.run": "onType",
13+
"eslint.lintTask.enable": true,
14+
"eslint.workingDirectories": [
15+
{
16+
"directory": ".",
17+
"changeProcessCWD": true
18+
}
19+
],
20+
"javascript.implicitProjectConfig.checkJs": true,
21+
"javascript.validate.enable": false,
22+
"javascript.format.enable": false,
23+
"[javascriptreact]": {
24+
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
25+
"editor.formatOnPaste": false,
26+
"editor.formatOnSave": false,
27+
"editor.formatOnType": false
28+
}
29+
}

CHANGELOG.md

Lines changed: 30 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -1,173 +1,126 @@
11
# Changelog
2+
23
> generated with [@semantic-release/changelog](https://github.com/semantic-release/changelog)
34
45
## [2.3.1](https://github.com/stackr23/logger/compare/v2.3.0...v2.3.1) (2018-11-22)
56

6-
77
### Bug Fixes
88

9-
* **travis:** :bug: use --pro flag for travis-deploy-once ([52f8b7d](https://github.com/stackr23/logger/commit/52f8b7d)), closes [semantic-release/travis-deploy-once#52](https://github.com/semantic-release/travis-deploy-once/issues/52)
9+
- **travis:** :bug: use --pro flag for travis-deploy-once ([52f8b7d](https://github.com/stackr23/logger/commit/52f8b7d)), closes [semantic-release/travis-deploy-once#52](https://github.com/semantic-release/travis-deploy-once/issues/52)
1010

1111
# [2.3.0](https://github.com/stackr23/logger/compare/v2.2.6...v2.3.0) (2018-11-22)
1212

13-
1413
### Bug Fixes
1514

16-
* **ci:** script: npm run full-test ([6cffb49](https://github.com/stackr23/logger/commit/6cffb49))
17-
15+
- **ci:** script: npm run full-test ([6cffb49](https://github.com/stackr23/logger/commit/6cffb49))
1816

1917
### Features
2018

21-
* **eslint:** :sparkles: eslint with modified airbnb config ([ebb8e85](https://github.com/stackr23/logger/commit/ebb8e85))
22-
* **lint:** use eslint + eslint-config-standard ([2644617](https://github.com/stackr23/logger/commit/2644617))
19+
- **eslint:** :sparkles: eslint with modified airbnb config ([ebb8e85](https://github.com/stackr23/logger/commit/ebb8e85))
20+
- **lint:** use eslint + eslint-config-standard ([2644617](https://github.com/stackr23/logger/commit/2644617))
2321

2422
## [2.2.6](https://github.com/stackr23/logger/compare/v2.2.5...v2.2.6) (2018-11-19)
2523

26-
2724
### Bug Fixes
2825

29-
* **semantic-release:** :bug: - change order (npm > git) to write version topackage.json ([b87104e](https://github.com/stackr23/logger/commit/b87104e))
30-
31-
26+
- **semantic-release:** :bug: - change order (npm > git) to write version topackage.json ([b87104e](https://github.com/stackr23/logger/commit/b87104e))
3227

3328
## [2.2.5](https://github.com/stackr23/logger/compare/v2.2.4...v2.2.5) (2018-11-19)
3429

35-
3630
### Bug Fixes
3731

38-
* **prefix:** :heavy_minus_sign: remove some git release assets ([ab42ace](https://github.com/stackr23/logger/commit/ab42ace))
39-
40-
32+
- **prefix:** :heavy_minus_sign: remove some git release assets ([ab42ace](https://github.com/stackr23/logger/commit/ab42ace))
4133

4234
## [2.2.4](https://github.com/stackr23/logger/compare/v2.2.3...v2.2.4) (2018-11-19)
4335

44-
4536
### Bug Fixes
4637

47-
* **prefix): 🐛 - add scope (style "fix(prefix:** <emoji>") ([c1d626b](https://github.com/stackr23/logger/commit/c1d626b))
48-
49-
38+
- **prefix): 🐛 - add scope (style "fix(prefix:** <emoji>") ([c1d626b](https://github.com/stackr23/logger/commit/c1d626b))
5039

5140
## [2.2.3](https://github.com/stackr23/logger/compare/v2.2.2...v2.2.3) (2018-11-19)
5241

53-
5442
### Bug Fixes
5543

56-
* **🐛:** export default logger in /index.js ([26a7161](https://github.com/stackr23/logger/commit/26a7161))
57-
58-
44+
- **🐛:** export default logger in /index.js ([26a7161](https://github.com/stackr23/logger/commit/26a7161))
5945

6046
## [2.2.2](https://github.com/stackr23/logger/compare/v2.2.1...v2.2.2) (2018-11-18)
6147

62-
6348
### Bug Fixes
6449

65-
* **semanticRelease:** :arrow_down: removed from package - shoved npm install into travis ([8bdb3aa](https://github.com/stackr23/logger/commit/8bdb3aa))
66-
67-
50+
- **semanticRelease:** :arrow_down: removed from package - shoved npm install into travis ([8bdb3aa](https://github.com/stackr23/logger/commit/8bdb3aa))
6851

6952
## [2.2.1](https://github.com/stackr23/logger/compare/v2.2.0...v2.2.1) (2018-11-16)
7053

71-
7254
### Bug Fixes
7355

74-
* **changelog:** added changelog title ([58c90a1](https://github.com/stackr23/logger/commit/58c90a1))
75-
76-
56+
- **changelog:** added changelog title ([58c90a1](https://github.com/stackr23/logger/commit/58c90a1))
7757

7858
# [2.2.0](https://github.com/stackr23/logger/compare/v2.1.0...v2.2.0) (2018-11-16)
7959

80-
8160
### Features
8261

83-
* **semantic-release:** change commit message ([65e9130](https://github.com/stackr23/logger/commit/65e9130))
84-
85-
62+
- **semantic-release:** change commit message ([65e9130](https://github.com/stackr23/logger/commit/65e9130))
8663

8764
# [2.1.0](https://github.com/stackr23/logger/compare/v2.0.0...v2.1.0) (2018-11-16)
8865

89-
9066
### Features
9167

92-
* **github-releases:** :sparkles: [@semantic-release](https://github.com/semantic-release)/github ([d98a559](https://github.com/stackr23/logger/commit/d98a559))
93-
94-
68+
- **github-releases:** :sparkles: [@semantic-release](https://github.com/semantic-release)/github ([d98a559](https://github.com/stackr23/logger/commit/d98a559))
9569

9670
# [2.0.0](https://github.com/stackr23/logger/compare/v1.4.0...v2.0.0) (2018-11-16)
9771

98-
9972
### Features
10073

101-
* **release:** CI automatic release ([49b6f8f](https://github.com/stackr23/logger/commit/49b6f8f))
102-
* **release:** CI release ([3198205](https://github.com/stackr23/logger/commit/3198205))
103-
* **semantic-release:** test :rocket: - ✨ 👷 🚀 BREAKING: no manuell publishing anymore! ([cc5140c](https://github.com/stackr23/logger/commit/cc5140c))
104-
* **semantic-release:** test :rocket: - ✨ 👷 🚀 BREAKING: no manuell publishing anymore! ([0036a01](https://github.com/stackr23/logger/commit/0036a01))
105-
74+
- **release:** CI automatic release ([49b6f8f](https://github.com/stackr23/logger/commit/49b6f8f))
75+
- **release:** CI release ([3198205](https://github.com/stackr23/logger/commit/3198205))
76+
- **semantic-release:** test :rocket: - ✨ 👷 🚀 BREAKING: no manuell publishing anymore! ([cc5140c](https://github.com/stackr23/logger/commit/cc5140c))
77+
- **semantic-release:** test :rocket: - ✨ 👷 🚀 BREAKING: no manuell publishing anymore! ([0036a01](https://github.com/stackr23/logger/commit/0036a01))
10678

10779
### BREAKING CHANGES
10880

109-
* **release:** no more manuell deployment!
110-
111-
81+
- **release:** no more manuell deployment!
11282

11383
# [1.4.0](https://github.com/stackr23/logger/compare/v1.3.1...v1.4.0) (2018-11-16)
11484

115-
11685
### Features
11786

118-
* :sparkles: :construction_worker: :rocket: BREAKING: no manuell publishing anymore! ([060c985](https://github.com/stackr23/logger/commit/060c985))
119-
120-
87+
- :sparkles: :construction_worker: :rocket: BREAKING: no manuell publishing anymore! ([060c985](https://github.com/stackr23/logger/commit/060c985))
12188

12289
## [1.3.1](https://github.com/stackr23/logger/compare/v1.3.0...v1.3.1) (2018-11-16)
12390

124-
12591
### Bug Fixes
12692

127-
* **test:** testest ([089a62c](https://github.com/stackr23/logger/commit/089a62c))
128-
129-
93+
- **test:** testest ([089a62c](https://github.com/stackr23/logger/commit/089a62c))
13094

13195
# [1.3.0](https://github.com/stackr23/logger/compare/v1.2.0...v1.3.0) (2018-11-16)
13296

133-
13497
### Bug Fixes
13598

136-
* **:package::** "[@semantic-release](https://github.com/semantic-release)/release-notes-generator": "github:semantic-release/release-notes-generator", ([8413598](https://github.com/stackr23/logger/commit/8413598))
137-
* **:pencil2::** typo in packacke.json ([8f856e8](https://github.com/stackr23/logger/commit/8f856e8))
138-
* **:pencil2::** typo in packacke.json ([e399d23](https://github.com/stackr23/logger/commit/e399d23))
139-
* **:pencil2::** typo in packacke.json ([7a22d22](https://github.com/stackr23/logger/commit/7a22d22))
140-
* **changelog:** :crossing_fingers: ([8fe7390](https://github.com/stackr23/logger/commit/8fe7390))
141-
99+
- **:package::** "[@semantic-release](https://github.com/semantic-release)/release-notes-generator": "github:semantic-release/release-notes-generator", ([8413598](https://github.com/stackr23/logger/commit/8413598))
100+
- **:pencil2::** typo in packacke.json ([8f856e8](https://github.com/stackr23/logger/commit/8f856e8))
101+
- **:pencil2::** typo in packacke.json ([e399d23](https://github.com/stackr23/logger/commit/e399d23))
102+
- **:pencil2::** typo in packacke.json ([7a22d22](https://github.com/stackr23/logger/commit/7a22d22))
103+
- **changelog:** :crossing_fingers: ([8fe7390](https://github.com/stackr23/logger/commit/8fe7390))
142104

143105
### Features
144106

145-
* **test:** changelog ([f10918e](https://github.com/stackr23/logger/commit/f10918e))
146-
147-
107+
- **test:** changelog ([f10918e](https://github.com/stackr23/logger/commit/f10918e))
148108

149109
# [1.2.0](https://github.com/stackr23/logger/compare/v1.1.1...v1.2.0) (2018-11-16)
150110

151-
152111
### Bug Fixes
153112

154-
* **CI:** :green_heart: npm publishing per travis-ci ([426e156](https://github.com/stackr23/logger/commit/426e156))
155-
* **deps:** :heavy_plus_sign: added semantic-release plugins - git and npm ([091fcaa](https://github.com/stackr23/logger/commit/091fcaa))
156-
113+
- **CI:** :green_heart: npm publishing per travis-ci ([426e156](https://github.com/stackr23/logger/commit/426e156))
114+
- **deps:** :heavy_plus_sign: added semantic-release plugins - git and npm ([091fcaa](https://github.com/stackr23/logger/commit/091fcaa))
157115

158116
### Features
159117

160-
* **release:** :sparkles: [@semantic-release](https://github.com/semantic-release)/changelog ([4fd8b77](https://github.com/stackr23/logger/commit/4fd8b77))
161-
162-
118+
- **release:** :sparkles: [@semantic-release](https://github.com/semantic-release)/changelog ([4fd8b77](https://github.com/stackr23/logger/commit/4fd8b77))
163119

164120
# [1.1.0](https://github.com/stackr23/logger/compare/v1.0.0...v1.1.0) (2018-11-16)
165121

166-
167122
### Features
168123

169-
* :sparkles: semantic-release ([8dc88c4](https://github.com/stackr23/logger/commit/8dc88c4))
170-
171-
124+
- :sparkles: semantic-release ([8dc88c4](https://github.com/stackr23/logger/commit/8dc88c4))
172125

173126
# 1.0.0 (2018-11-16)

0 commit comments

Comments
 (0)