@jobscale/eslint-plugin-standard 0.0.12 → 0.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,7 @@ name: Docker
5
5
  # separate terms of service, privacy policy, and support
6
6
  # documentation.
7
7
 
8
- # The workflow was triggered 265 times via automatically.
8
+ # The workflow was triggered 336 times via automatically.
9
9
 
10
10
  on:
11
11
  # schedule:
package/app/index.js CHANGED
@@ -29,10 +29,10 @@ class App {
29
29
  }
30
30
  const prom = this.promiseGen();
31
31
  const fetch = { https, http };
32
- fetch[protocol].get(url, instanceOptions, res => {
32
+ fetch[protocol].get(url, instanceOptions, (res) => {
33
33
  const { statusCode, statusMessage } = res;
34
34
  const chunked = [];
35
- res.on('data', chunk => {
35
+ res.on('data', (chunk) => {
36
36
  chunked.push(chunk);
37
37
  });
38
38
  res.on('end', () => {
@@ -40,7 +40,7 @@ class App {
40
40
  statusCode, statusMessage, body: chunked.join(''),
41
41
  });
42
42
  });
43
- res.on('error', e => {
43
+ res.on('error', (e) => {
44
44
  prom.reject(e);
45
45
  });
46
46
  });
package/index.js CHANGED
@@ -17,7 +17,8 @@ const rules = {
17
17
  semi: ['error', 'always'],
18
18
  eqeqeq: ['error', 'always'],
19
19
  'class-methods-use-this': 'off',
20
- 'arrow-parens': 'off',
20
+ 'space-in-parens': ['error', 'never'],
21
+ 'arrow-parens': ['error', 'always'],
21
22
  'comma-dangle': ['error', 'always-multiline'],
22
23
  'quote-props': ['error', 'as-needed'],
23
24
  'padded-blocks': ['error', 'never'],
@@ -49,7 +50,6 @@ const rules = {
49
50
  'lines-between-class-members': ['error', 'always'],
50
51
  'object-curly-spacing': ['error', 'always'],
51
52
  'space-before-blocks': ['error', 'always'],
52
- 'space-in-parens': ['error', 'never'],
53
53
  'space-infix-ops': ['error'],
54
54
  'spaced-comment': ['error', 'always'],
55
55
  'no-restricted-syntax': ['error', {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobscale/eslint-plugin-standard",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "eslint plugin standard",
5
5
  "keywords": [
6
6
  "eslint",