shuttlerock_shared_config 0.1.5 → 0.1.6

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: 552b7d28b5de9b56aa2836ca6c7a6a23500331e96a4507519d6826c6f290ee54
4
- data.tar.gz: a0e839c7172aeb3ea4093e3ef955aa18ed2dd349cfe4100872e6ae540281368f
3
+ metadata.gz: 6649a0c736ec3628e50fe790e8def6a41c470d27493965895b74d5db67a87023
4
+ data.tar.gz: 25cbaa8987c0b1241c8c6fb917d96dfd7018dfb4a5ea21d36f01b47b353d29c0
5
5
  SHA512:
6
- metadata.gz: 2ccc08b9ec687f1fa02699f26932c443bdefd9702b9500ff9d3d2bd4053959f7eedbe8caf38b581ffd0e14857fabfede2fcc18d28683289be8dcc6a4dcf73522
7
- data.tar.gz: 8f4973cdf796f150e6615ca207c8427ceecd8c63d823961f414bc81c695a116cf9408f551ae7cb2436c445d55c9cbe74d4e26ad18389c9ef883b89c1ca7a4cff
6
+ metadata.gz: b4c937dec2ef30b833371d36c2f636ce8fbf120edaa7d48c84fdc26553f68074a7ad9bbcc835446f7cd860b430bc6cd7eff3d6ec15b255efe9d55c2e3b680c4a
7
+ data.tar.gz: a0d1c7916584f19ce0f3230dcbed6ddef5646d508331786feae8206cfad998973749a4884848c5f0fb47264f576bf1a55d4139a835a2212ab4f95fd7dddbd65c
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ShuttlerockSharedConfig
4
- VERSION = '0.1.5'
4
+ VERSION = '0.1.6'
5
5
  end
@@ -1,103 +1,160 @@
1
- extends:
2
- - airbnb
3
- - plugin:flowtype/recommended
4
-
5
- parser: babel-eslint
6
-
7
- plugins:
8
- - flowtype
9
- - import
10
- - jsdoc
11
-
12
- # Allow the following global variables
13
- env:
14
- browser: false # browser global variables
15
- node: true # Node.js global variables and Node.js scoping.
16
- mocha: true # adds all of the Mocha testing global variables.
17
- es6: true # enable all ECMAScript 6 features except for modules
18
-
19
- # Stop 'no-undef' errors for these.
20
- globals:
21
- $: true
22
- App: true
23
- Application: true
24
- document: true
25
- expect: true
26
- gon: true
27
- I18n: true
28
- jest: true
29
- Routes: true
30
- window: true
31
- fetch: true
32
- Event: true
33
- CustomEvent: true
34
-
35
- rules:
36
- class-methods-use-this: off
37
- global-require: off
38
- import/extensions: [2, "never"]
39
- import/no-dynamic-require: off
40
- import/no-extraneous-dependencies: off
41
- import/no-named-as-default: off
42
- import/no-unresolved: [2, { ignore: ['shuttlerock'] }]
43
- import/prefer-default-export: off
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"
1
+ {
2
+ "extends": [
3
+ "airbnb",
4
+ "plugin:flowtype/recommended"
5
+ ],
6
+ "parser": "babel-eslint",
7
+ "plugins": [
8
+ "flowtype",
9
+ "import",
10
+ "jsdoc"
11
+ ],
12
+ "env": {
13
+ "browser": true,
14
+ "node": true,
15
+ "mocha": true,
16
+ "es6": true,
17
+ "jquery": true
18
+ },
19
+ "globals": {
20
+ "$": true,
21
+ "App": true,
22
+ "Application": true,
23
+ "CustomEvent": true,
24
+ "document": true,
25
+ "Event": true,
26
+ "expect": true,
27
+ "fetch": true,
28
+ "gon": true,
29
+ "I18n": true,
30
+ "jest": true,
31
+ "Routes": true,
32
+ "window": true,
33
+ },
34
+ "rules": {
35
+ "class-methods-use-this": 0,
36
+ "global-require": 0,
37
+ "import/extensions": [
38
+ 2,
39
+ "never"
40
+ ],
41
+ "import/no-dynamic-require": 0,
42
+ "import/no-extraneous-dependencies": 0,
43
+ "import/no-named-as-default": 0,
44
+ "import/no-unresolved": [
45
+ 2,
46
+ {
47
+ "ignore": [
48
+ "shuttlerock"
49
+ ]
50
+ }
51
+ ],
52
+ "import/prefer-default-export": 0,
53
+ "key-spacing": [
54
+ "error",
55
+ {
56
+ "multiLine": {
57
+ "beforeColon": false,
58
+ "afterColon": true
59
+ },
60
+ "align": {
61
+ "beforeColon": false,
62
+ "afterColon": true,
63
+ "on": "value"
64
+ }
65
+ }
66
+ ],
67
+ "max-len": [
68
+ "error",
69
+ 150
70
+ ],
71
+ "no-duplicate-imports": 0,
72
+ "no-multi-spaces": [
73
+ "error",
74
+ {
75
+ "exceptions": {
76
+ "AssignmentExpression": true,
77
+ "BinaryExpression": true,
78
+ "ImportDeclaration": true,
79
+ "VariableDeclarator": true
80
+ }
81
+ }
82
+ ],
83
+ "no-unused-vars": [
84
+ "error",
85
+ {
86
+ "argsIgnorePattern": "^__"
87
+ }
88
+ ],
89
+ "lines-between-class-members": 0,
90
+ "react/destructuring-assignment": 0,
91
+ "react/no-danger": 0,
92
+ "react/no-array-index-key": 0,
93
+ "react/prefer-stateless-function": 0,
94
+ "react/require-default-props": 0,
95
+ "jsdoc/check-param-names": 1,
96
+ "jsdoc/check-tag-names": 1,
97
+ "jsdoc/check-types": 1,
98
+ "jsdoc/newline-after-description": 1,
99
+ "jsdoc/require-description-complete-sentence": 1,
100
+ "jsdoc/require-hyphen-before-param-description": 1,
101
+ "jsdoc/require-param": 1,
102
+ "jsdoc/require-param-description": 1,
103
+ "jsdoc/require-param-type": 1,
104
+ "jsdoc/require-returns-description": 1,
105
+ "jsdoc/require-returns-type": 1,
106
+ // See https://github.com/ReactTraining/react-router/issues/5598
107
+ "jsx-a11y/label-has-for": [
108
+ 2,
109
+ {
110
+ "components": [
111
+ "Label"
112
+ ],
113
+ "required": {
114
+ "some": [
115
+ "nesting",
116
+ "id"
117
+ ]
118
+ },
119
+ "allowChildren": false
120
+ }
121
+ ],
122
+ "jsx-a11y/anchor-is-valid": 0,
123
+ "jsx-a11y/no-autofocus": 0,
124
+ // TODO: remove this rule after we have gotten rid of all alert()s.
125
+ "no-alert": 0,
126
+ // Validate JSX has key prop when in array or iterator
127
+ "react/jsx-key": 0,
128
+ "react/jsx-no-duplicate-props": [
129
+ 0,
130
+ {
131
+ "ignoreCase": false
132
+ }
133
+ ],
134
+ // Enforce component methods order
135
+ "react/sort-comp": [
136
+ 2,
137
+ {
138
+ "order": [
139
+ "static-methods",
140
+ "constructor",
141
+ "lifecycle",
142
+ "render",
143
+ "/^render.+$/",
144
+ "/^handle.+$/",
145
+ "everything-else"
146
+ ]
147
+ }
148
+ ],
149
+ // # function-paren-newline: ["error", "multiline"]
150
+ "no-console": [
151
+ "error",
152
+ {
153
+ "allow": [
154
+ "warn",
155
+ "error"
156
+ ]
55
157
  }
56
- }
57
- ]
58
- max-len: [error, 150]
59
- no-duplicate-imports: off # import/no-duplicates replaces this one.
60
- no-multi-spaces: [error, { exceptions: { AssignmentExpression: true, BinaryExpression: true, ImportDeclaration: true, VariableDeclarator: true } }]
61
- no-unused-vars: ["error", { "argsIgnorePattern": "^__" }]
62
- lines-between-class-members: off
63
- react/destructuring-assignment: off
64
- react/no-danger: off
65
- react/no-array-index-key: off
66
- react/prefer-stateless-function: off
67
- react/require-default-props: off
68
- jsdoc/check-param-names: 1
69
- jsdoc/check-tag-names: 1
70
- jsdoc/check-types: 1
71
- jsdoc/newline-after-description: 1
72
- jsdoc/require-description-complete-sentence: 1
73
- jsdoc/require-hyphen-before-param-description: 1
74
- jsdoc/require-param: 1
75
- jsdoc/require-param-description: 1
76
- jsdoc/require-param-type: 1
77
- jsdoc/require-returns-description: 1
78
- jsdoc/require-returns-type: 1
79
- # See https://github.com/ReactTraining/react-router/issues/5598
80
- jsx-a11y/label-has-for: [2, { "components": [ "Label" ], "required": { "some": [ "nesting", "id" ] }, "allowChildren": false }]
81
- jsx-a11y/anchor-is-valid: off
82
- jsx-a11y/no-autofocus: off
83
- # TODO: remove this rule after we have gotten rid of all alert()s.
84
- no-alert: off
85
- // Validate JSX has key prop when in array or iterator
86
- react/jsx-key: 0
87
- react/jsx-no-duplicate-props: [0, {
88
- "ignoreCase": false
89
- }]
90
- // Enforce component methods order
91
- react/sort-comp: [2, {
92
- "order": [
93
- "static-methods",
94
- "constructor",
95
- "lifecycle",
96
- "render",
97
- "/^render.+$/",
98
- "/^handle.+$/",
99
- "everything-else"
100
158
  ]
101
- }]
102
- # function-paren-newline: ["error", "multiline"]
103
- no-console: ["error", { allow: ["warn", "error"] }]
159
+ }
160
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shuttlerock_shared_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - ElseThen