shuttlerock_shared_config 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1470f8b50917b54b3d8ddd9d29b636bc246a75041123ae859665e7e27e3579f8
4
- data.tar.gz: c8825bf1b731f83ba068146afa93b336111bdce5b47ad4d4234f9e437ea9656d
3
+ metadata.gz: 620db68e31619dce77cc12090ed21bff680213b296e959d6ced8ceeefd75834f
4
+ data.tar.gz: '0999fd121f0af005aa84b67e0572beee6ae42fe14f009be026f714d172a2a0cf'
5
5
  SHA512:
6
- metadata.gz: a8c51b6b355b7b979f4c6970b7711fad1f4c7d0e4ae9a09583e29cb5f92377aa3dc6fb3199ef533c02c691b13d1bbbb7afb4d92674d14c8aa85db87e19c01a9c
7
- data.tar.gz: 5bbe0e17cae8d4e265a3adcc4a6aacb6e957c41d2d254ddde810b7ddd7a91ba318a91afd16153c2e55ddd7321b672f42096249c43d5ccea30934093a6ff61710
6
+ metadata.gz: 1a148fe0d46eff66b54b482905074c937d4a6a9b26bc759c45208ffaba2eb330f311d44cfc4b81e4868bab041d780552cb7a7c7e489c7e6585d95dd6572f8354
7
+ data.tar.gz: e10d5a52f1bb85ca0e9854c8cc1200a706f201392b8f46a835ba62c67b4fb7fe23b3e3877867f8604a090751da4d466ceda84baccd9fbb5ac58a48586fa8af53
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ShuttlerockSharedConfig
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
5
5
  end
@@ -21,12 +21,16 @@ globals:
21
21
  $: true
22
22
  App: true
23
23
  Application: true
24
+ document: true
24
25
  expect: true
25
26
  gon: true
26
27
  I18n: true
27
28
  jest: true
28
29
  Routes: true
29
30
  window: true
31
+ fetch: true
32
+ Event: true
33
+ CustomEvent: true
30
34
 
31
35
  rules:
32
36
  class-methods-use-this: off
@@ -37,14 +41,30 @@ rules:
37
41
  import/no-named-as-default: off
38
42
  import/no-unresolved: [2, { ignore: ['shuttlerock'] }]
39
43
  import/prefer-default-export: off
40
- key-spacing: [error, { align: "value" }]
44
+ key-spacing: [
45
+ "error",
46
+ {
47
+ "multiLine": {
48
+ "beforeColon": false,
49
+ "afterColon": true
50
+ },
51
+ "align": {
52
+ "beforeColon": false,
53
+ "afterColon": true,
54
+ "on": "value"
55
+ }
56
+ }
57
+ ]
41
58
  max-len: [error, 150]
42
59
  no-duplicate-imports: off # import/no-duplicates replaces this one.
43
60
  no-multi-spaces: [error, { exceptions: { AssignmentExpression: true, BinaryExpression: true, ImportDeclaration: true, VariableDeclarator: true } }]
44
61
  no-unused-vars: ["error", { "argsIgnorePattern": "^__" }]
62
+ lines-between-class-members: off
63
+ react/destructuring-assignment: off
45
64
  react/no-danger: off
46
65
  react/no-array-index-key: off
47
66
  react/prefer-stateless-function: off
67
+ react/require-default-props: off
48
68
  jsdoc/check-param-names: 1
49
69
  jsdoc/check-tag-names: 1
50
70
  jsdoc/check-types: 1
@@ -57,8 +77,8 @@ rules:
57
77
  jsdoc/require-returns-description: 1
58
78
  jsdoc/require-returns-type: 1
59
79
  # See https://github.com/ReactTraining/react-router/issues/5598
60
- jsx-a11y/anchor-is-valid: [ "error", { "components": [ "Link" ], "specialLink": [ "hrefLeft", "hrefRight", "to" ], "aspects": [ "noHref", "invalidHref", "preferButton" ] }]
61
80
  jsx-a11y/label-has-for: [2, { "components": [ "Label" ], "required": { "some": [ "nesting", "id" ] }, "allowChildren": false }]
81
+ jsx-a11y/anchor-is-valid: off
62
82
  jsx-a11y/no-autofocus: off
63
83
  # TODO: remove this rule after we have gotten rid of all alert()s.
64
84
  no-alert: off
@@ -79,3 +99,5 @@ rules:
79
99
  "everything-else"
80
100
  ]
81
101
  }]
102
+ # function-paren-newline: ["error", "multiline"]
103
+ no-console: ["error", { allow: ["warn", "error"] }]
@@ -19,12 +19,11 @@
19
19
  "block-opening-brace-space-after": null,
20
20
  "block-opening-brace-space-before": null,
21
21
  "at-rule-name-case": "lower",
22
-
23
22
  "color-no-invalid-hex": true,
24
23
  "declaration-block-no-duplicate-properties": true,
25
24
  "declaration-block-trailing-semicolon": null,
26
- "declaration-no-important": true,
27
- "indentation": null,
25
+ "declaration-no-important": null,
26
+ "indentation": 2,
28
27
  "max-nesting-depth": 3,
29
28
  "comment-empty-line-before": null,
30
29
  "plugin/declaration-block-no-ignored-properties": true,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shuttlerock_shared_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ElseThen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-25 00:00:00.000000000 Z
11
+ date: 2018-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop