react_on_rails 1.2.2 → 2.0.0.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- metadata +5 -126
- data/.babelrc +0 -3
- data/.coveralls.yml +0 -1
- data/.dockerignore +0 -2
- data/.eslintignore +0 -5
- data/.eslintrc +0 -48
- data/.gitignore +0 -26
- data/.jscsrc +0 -26
- data/.rspec +0 -2
- data/.rubocop.yml +0 -70
- data/.scss-lint.yml +0 -205
- data/.travis.yml +0 -41
- data/CHANGELOG.md +0 -42
- data/Dockerfile_tests +0 -12
- data/Gemfile +0 -38
- data/README.md +0 -363
- data/Rakefile +0 -5
- data/app/assets/javascripts/react_on_rails.js +0 -241
- data/app/helpers/react_on_rails_helper.rb +0 -224
- data/docker-compose.yml +0 -11
- data/docs/LICENSE +0 -21
- data/docs/additional_reading/heroku_deployment.md +0 -23
- data/docs/additional_reading/manual_installation.md +0 -142
- data/docs/additional_reading/node_dependencies_and_npm.md +0 -29
- data/docs/additional_reading/optional_configuration.md +0 -34
- data/docs/additional_reading/react-and-redux.md +0 -36
- data/docs/additional_reading/react_router.md +0 -45
- data/docs/additional_reading/server_rendering_tips.md +0 -16
- data/docs/additional_reading/tips.md +0 -10
- data/docs/additional_reading/webpack.md +0 -46
- data/docs/code_of_conduct.md +0 -13
- data/docs/coding-style/linters.md +0 -64
- data/docs/coding-style/style.md +0 -42
- data/docs/contributing.md +0 -62
- data/docs/generator_testing.md +0 -20
- data/docs/install_and_releasing.md +0 -24
- data/docs/sample_generated_js/README.md +0 -4
- data/docs/sample_generated_js/client-generated.js +0 -12
- data/docs/sample_generated_js/server-generated.js +0 -25
- data/lib/generators/USAGE +0 -99
- data/lib/generators/react_on_rails/base_generator.rb +0 -198
- data/lib/generators/react_on_rails/bootstrap_generator.rb +0 -91
- data/lib/generators/react_on_rails/dev_tests_generator.rb +0 -30
- data/lib/generators/react_on_rails/generator_errors.rb +0 -15
- data/lib/generators/react_on_rails/generator_helper.rb +0 -58
- data/lib/generators/react_on_rails/heroku_deployment_generator.rb +0 -30
- data/lib/generators/react_on_rails/install_generator.rb +0 -111
- data/lib/generators/react_on_rails/js_linters_generator.rb +0 -19
- data/lib/generators/react_on_rails/react_no_redux_generator.rb +0 -41
- data/lib/generators/react_on_rails/react_with_redux_generator.rb +0 -52
- data/lib/generators/react_on_rails/ruby_linters_generator.rb +0 -33
- data/lib/generators/react_on_rails/templates/base/base/Procfile.dev.tt +0 -4
- data/lib/generators/react_on_rails/templates/base/base/REACT_ON_RAILS.md +0 -16
- data/lib/generators/react_on_rails/templates/base/base/app/controllers/hello_world_controller.rb +0 -5
- data/lib/generators/react_on_rails/templates/base/base/app/views/hello_world/index.html.erb.tt +0 -5
- data/lib/generators/react_on_rails/templates/base/base/client/.babelrc +0 -3
- data/lib/generators/react_on_rails/templates/base/base/client/REACT_ON_RAILS_CLIENT_README.md +0 -3
- data/lib/generators/react_on_rails/templates/base/base/client/app/bundles/HelloWorld/startup/globals.jsx.tt +0 -5
- data/lib/generators/react_on_rails/templates/base/base/client/index.jade +0 -15
- data/lib/generators/react_on_rails/templates/base/base/client/npm-shrinkwrap.json +0 -2907
- data/lib/generators/react_on_rails/templates/base/base/client/package.json.tt +0 -98
- data/lib/generators/react_on_rails/templates/base/base/client/server.js +0 -64
- data/lib/generators/react_on_rails/templates/base/base/client/webpack.client.base.config.js.tt +0 -67
- data/lib/generators/react_on_rails/templates/base/base/client/webpack.client.hot.config.js.tt +0 -67
- data/lib/generators/react_on_rails/templates/base/base/client/webpack.client.rails.config.js +0 -41
- data/lib/generators/react_on_rails/templates/base/base/config/initializers/react_on_rails.rb +0 -28
- data/lib/generators/react_on_rails/templates/base/base/lib/tasks/assets.rake.tt +0 -26
- data/lib/generators/react_on_rails/templates/base/base/lib/tasks/linters.rake.tt +0 -88
- data/lib/generators/react_on_rails/templates/base/base/package.json +0 -31
- data/lib/generators/react_on_rails/templates/base/server_rendering/client/app/bundles/HelloWorld/startup/serverGlobals.jsx +0 -3
- data/lib/generators/react_on_rails/templates/base/server_rendering/client/webpack.server.rails.config.js +0 -40
- data/lib/generators/react_on_rails/templates/bootstrap/app/assets/stylesheets/_bootstrap-custom.scss +0 -63
- data/lib/generators/react_on_rails/templates/bootstrap/client/assets/stylesheets/_post-bootstrap.scss +0 -10
- data/lib/generators/react_on_rails/templates/bootstrap/client/assets/stylesheets/_pre-bootstrap.scss +0 -8
- data/lib/generators/react_on_rails/templates/bootstrap/client/assets/stylesheets/_react-on-rails-sass-helper.scss +0 -19
- data/lib/generators/react_on_rails/templates/bootstrap/client/bootstrap-sass.config.js +0 -89
- data/lib/generators/react_on_rails/templates/dev_tests/.rspec +0 -2
- data/lib/generators/react_on_rails/templates/dev_tests/spec/features/hello_world_spec.rb +0 -25
- data/lib/generators/react_on_rails/templates/dev_tests/spec/rails_helper.rb +0 -57
- data/lib/generators/react_on_rails/templates/dev_tests/spec/simplecov_helper.rb +0 -21
- data/lib/generators/react_on_rails/templates/dev_tests/spec/spec_helper.rb +0 -95
- data/lib/generators/react_on_rails/templates/heroku_deployment/.buildpacks +0 -2
- data/lib/generators/react_on_rails/templates/heroku_deployment/Procfile +0 -1
- data/lib/generators/react_on_rails/templates/heroku_deployment/config/puma.rb +0 -15
- data/lib/generators/react_on_rails/templates/js_linters/client/.eslintignore +0 -1
- data/lib/generators/react_on_rails/templates/js_linters/client/.eslintrc +0 -48
- data/lib/generators/react_on_rails/templates/js_linters/client/.jscsrc +0 -18
- data/lib/generators/react_on_rails/templates/no_redux/base/client/app/bundles/HelloWorld/components/HelloWorldWidget.jsx +0 -39
- data/lib/generators/react_on_rails/templates/no_redux/base/client/app/bundles/HelloWorld/containers/HelloWorld.jsx +0 -33
- data/lib/generators/react_on_rails/templates/no_redux/base/client/app/bundles/HelloWorld/startup/HelloWorldAppClient.jsx.tt +0 -12
- data/lib/generators/react_on_rails/templates/no_redux/server_rendering/client/app/bundles/HelloWorld/startup/HelloWorldAppServer.jsx +0 -11
- data/lib/generators/react_on_rails/templates/redux/base/client/app/bundles/HelloWorld/actions/helloWorldActionCreators.jsx +0 -8
- data/lib/generators/react_on_rails/templates/redux/base/client/app/bundles/HelloWorld/components/HelloWorldWidget.jsx +0 -48
- data/lib/generators/react_on_rails/templates/redux/base/client/app/bundles/HelloWorld/constants/helloWorldConstants.jsx +0 -8
- data/lib/generators/react_on_rails/templates/redux/base/client/app/bundles/HelloWorld/containers/HelloWorld.jsx +0 -43
- data/lib/generators/react_on_rails/templates/redux/base/client/app/bundles/HelloWorld/reducers/helloWorldReducer.jsx +0 -21
- data/lib/generators/react_on_rails/templates/redux/base/client/app/bundles/HelloWorld/reducers/index.jsx +0 -14
- data/lib/generators/react_on_rails/templates/redux/base/client/app/bundles/HelloWorld/startup/HelloWorldAppClient.jsx.tt +0 -21
- data/lib/generators/react_on_rails/templates/redux/base/client/app/bundles/HelloWorld/store/helloWorldStore.jsx +0 -35
- data/lib/generators/react_on_rails/templates/redux/base/client/app/lib/middlewares/loggerMiddleware.js +0 -20
- data/lib/generators/react_on_rails/templates/redux/server_rendering/client/app/bundles/HelloWorld/startup/HelloWorldAppServer.jsx +0 -21
- data/lib/generators/react_on_rails/templates/ruby_linters/.rubocop.yml +0 -26
- data/lib/generators/react_on_rails/templates/ruby_linters/.scss-lint.yml +0 -205
- data/lib/generators/react_on_rails/templates/ruby_linters/lib/tasks/brakeman.rake +0 -17
- data/lib/generators/react_on_rails/templates/ruby_linters/lib/tasks/ci.rake +0 -33
- data/lib/generators/react_on_rails/templates/ruby_linters/ruby-lint.yml +0 -20
- data/lib/react_on_rails.rb +0 -6
- data/lib/react_on_rails/configuration.rb +0 -53
- data/lib/react_on_rails/engine.rb +0 -7
- data/lib/react_on_rails/prerender_error.rb +0 -31
- data/lib/react_on_rails/server_rendering_pool.rb +0 -111
- data/lib/react_on_rails/version.rb +0 -3
- data/rakelib/docker.rake +0 -33
- data/rakelib/dummy_apps.rake +0 -29
- data/rakelib/example_type.rb +0 -160
- data/rakelib/examples.rake +0 -103
- data/rakelib/examples_config.yml +0 -19
- data/rakelib/lint.rake +0 -37
- data/rakelib/run_rspec.rake +0 -65
- data/rakelib/task_helpers.rb +0 -44
- data/react_on_rails.gemspec +0 -31
- data/ruby-lint.yml +0 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25ed6f310f38fc595150b0fc8301ed7e2b27a7c2
|
4
|
+
data.tar.gz: 5b10153ddd10c2764ced906506b7c1eaf2b1ab7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 439bc6ad0d6276c62450d7b19401519cfa40cbcfa1204a026927bfe8c0c048f9bdb03c0070ef08958f3d68bd50e19fc85703bd51282e46f6aef464788988cc6a
|
7
|
+
data.tar.gz: 615e59ff463bde38d55f37446e9a8853e266a3f47655cd0c49fbe5a4eec7c78bb4b850814dc889e48652f281a8efded1c71cbd61b549064498c6c7c3b4009d8c
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: react_on_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0.beta.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Gordon
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -128,128 +128,7 @@ email:
|
|
128
128
|
executables: []
|
129
129
|
extensions: []
|
130
130
|
extra_rdoc_files: []
|
131
|
-
files:
|
132
|
-
- ".babelrc"
|
133
|
-
- ".coveralls.yml"
|
134
|
-
- ".dockerignore"
|
135
|
-
- ".eslintignore"
|
136
|
-
- ".eslintrc"
|
137
|
-
- ".gitignore"
|
138
|
-
- ".jscsrc"
|
139
|
-
- ".rspec"
|
140
|
-
- ".rubocop.yml"
|
141
|
-
- ".scss-lint.yml"
|
142
|
-
- ".travis.yml"
|
143
|
-
- CHANGELOG.md
|
144
|
-
- Dockerfile_tests
|
145
|
-
- Gemfile
|
146
|
-
- README.md
|
147
|
-
- Rakefile
|
148
|
-
- app/assets/javascripts/react_on_rails.js
|
149
|
-
- app/helpers/react_on_rails_helper.rb
|
150
|
-
- docker-compose.yml
|
151
|
-
- docs/LICENSE
|
152
|
-
- docs/additional_reading/heroku_deployment.md
|
153
|
-
- docs/additional_reading/manual_installation.md
|
154
|
-
- docs/additional_reading/node_dependencies_and_npm.md
|
155
|
-
- docs/additional_reading/optional_configuration.md
|
156
|
-
- docs/additional_reading/react-and-redux.md
|
157
|
-
- docs/additional_reading/react_router.md
|
158
|
-
- docs/additional_reading/server_rendering_tips.md
|
159
|
-
- docs/additional_reading/tips.md
|
160
|
-
- docs/additional_reading/webpack.md
|
161
|
-
- docs/code_of_conduct.md
|
162
|
-
- docs/coding-style/linters.md
|
163
|
-
- docs/coding-style/style.md
|
164
|
-
- docs/contributing.md
|
165
|
-
- docs/generator_testing.md
|
166
|
-
- docs/install_and_releasing.md
|
167
|
-
- docs/sample_generated_js/README.md
|
168
|
-
- docs/sample_generated_js/client-generated.js
|
169
|
-
- docs/sample_generated_js/server-generated.js
|
170
|
-
- lib/generators/USAGE
|
171
|
-
- lib/generators/react_on_rails/base_generator.rb
|
172
|
-
- lib/generators/react_on_rails/bootstrap_generator.rb
|
173
|
-
- lib/generators/react_on_rails/dev_tests_generator.rb
|
174
|
-
- lib/generators/react_on_rails/generator_errors.rb
|
175
|
-
- lib/generators/react_on_rails/generator_helper.rb
|
176
|
-
- lib/generators/react_on_rails/heroku_deployment_generator.rb
|
177
|
-
- lib/generators/react_on_rails/install_generator.rb
|
178
|
-
- lib/generators/react_on_rails/js_linters_generator.rb
|
179
|
-
- lib/generators/react_on_rails/react_no_redux_generator.rb
|
180
|
-
- lib/generators/react_on_rails/react_with_redux_generator.rb
|
181
|
-
- lib/generators/react_on_rails/ruby_linters_generator.rb
|
182
|
-
- lib/generators/react_on_rails/templates/base/base/Procfile.dev.tt
|
183
|
-
- lib/generators/react_on_rails/templates/base/base/REACT_ON_RAILS.md
|
184
|
-
- lib/generators/react_on_rails/templates/base/base/app/controllers/hello_world_controller.rb
|
185
|
-
- lib/generators/react_on_rails/templates/base/base/app/views/hello_world/index.html.erb.tt
|
186
|
-
- lib/generators/react_on_rails/templates/base/base/client/.babelrc
|
187
|
-
- lib/generators/react_on_rails/templates/base/base/client/REACT_ON_RAILS_CLIENT_README.md
|
188
|
-
- lib/generators/react_on_rails/templates/base/base/client/app/bundles/HelloWorld/startup/globals.jsx.tt
|
189
|
-
- lib/generators/react_on_rails/templates/base/base/client/index.jade
|
190
|
-
- lib/generators/react_on_rails/templates/base/base/client/npm-shrinkwrap.json
|
191
|
-
- lib/generators/react_on_rails/templates/base/base/client/package.json.tt
|
192
|
-
- lib/generators/react_on_rails/templates/base/base/client/server.js
|
193
|
-
- lib/generators/react_on_rails/templates/base/base/client/webpack.client.base.config.js.tt
|
194
|
-
- lib/generators/react_on_rails/templates/base/base/client/webpack.client.hot.config.js.tt
|
195
|
-
- lib/generators/react_on_rails/templates/base/base/client/webpack.client.rails.config.js
|
196
|
-
- lib/generators/react_on_rails/templates/base/base/config/initializers/react_on_rails.rb
|
197
|
-
- lib/generators/react_on_rails/templates/base/base/lib/tasks/assets.rake.tt
|
198
|
-
- lib/generators/react_on_rails/templates/base/base/lib/tasks/linters.rake.tt
|
199
|
-
- lib/generators/react_on_rails/templates/base/base/package.json
|
200
|
-
- lib/generators/react_on_rails/templates/base/server_rendering/client/app/bundles/HelloWorld/startup/serverGlobals.jsx
|
201
|
-
- lib/generators/react_on_rails/templates/base/server_rendering/client/webpack.server.rails.config.js
|
202
|
-
- lib/generators/react_on_rails/templates/bootstrap/app/assets/stylesheets/_bootstrap-custom.scss
|
203
|
-
- lib/generators/react_on_rails/templates/bootstrap/client/assets/stylesheets/_post-bootstrap.scss
|
204
|
-
- lib/generators/react_on_rails/templates/bootstrap/client/assets/stylesheets/_pre-bootstrap.scss
|
205
|
-
- lib/generators/react_on_rails/templates/bootstrap/client/assets/stylesheets/_react-on-rails-sass-helper.scss
|
206
|
-
- lib/generators/react_on_rails/templates/bootstrap/client/bootstrap-sass.config.js
|
207
|
-
- lib/generators/react_on_rails/templates/dev_tests/.rspec
|
208
|
-
- lib/generators/react_on_rails/templates/dev_tests/spec/features/hello_world_spec.rb
|
209
|
-
- lib/generators/react_on_rails/templates/dev_tests/spec/rails_helper.rb
|
210
|
-
- lib/generators/react_on_rails/templates/dev_tests/spec/simplecov_helper.rb
|
211
|
-
- lib/generators/react_on_rails/templates/dev_tests/spec/spec_helper.rb
|
212
|
-
- lib/generators/react_on_rails/templates/heroku_deployment/.buildpacks
|
213
|
-
- lib/generators/react_on_rails/templates/heroku_deployment/Procfile
|
214
|
-
- lib/generators/react_on_rails/templates/heroku_deployment/config/puma.rb
|
215
|
-
- lib/generators/react_on_rails/templates/js_linters/client/.eslintignore
|
216
|
-
- lib/generators/react_on_rails/templates/js_linters/client/.eslintrc
|
217
|
-
- lib/generators/react_on_rails/templates/js_linters/client/.jscsrc
|
218
|
-
- lib/generators/react_on_rails/templates/no_redux/base/client/app/bundles/HelloWorld/components/HelloWorldWidget.jsx
|
219
|
-
- lib/generators/react_on_rails/templates/no_redux/base/client/app/bundles/HelloWorld/containers/HelloWorld.jsx
|
220
|
-
- lib/generators/react_on_rails/templates/no_redux/base/client/app/bundles/HelloWorld/startup/HelloWorldAppClient.jsx.tt
|
221
|
-
- lib/generators/react_on_rails/templates/no_redux/server_rendering/client/app/bundles/HelloWorld/startup/HelloWorldAppServer.jsx
|
222
|
-
- lib/generators/react_on_rails/templates/redux/base/client/app/bundles/HelloWorld/actions/helloWorldActionCreators.jsx
|
223
|
-
- lib/generators/react_on_rails/templates/redux/base/client/app/bundles/HelloWorld/components/HelloWorldWidget.jsx
|
224
|
-
- lib/generators/react_on_rails/templates/redux/base/client/app/bundles/HelloWorld/constants/helloWorldConstants.jsx
|
225
|
-
- lib/generators/react_on_rails/templates/redux/base/client/app/bundles/HelloWorld/containers/HelloWorld.jsx
|
226
|
-
- lib/generators/react_on_rails/templates/redux/base/client/app/bundles/HelloWorld/reducers/helloWorldReducer.jsx
|
227
|
-
- lib/generators/react_on_rails/templates/redux/base/client/app/bundles/HelloWorld/reducers/index.jsx
|
228
|
-
- lib/generators/react_on_rails/templates/redux/base/client/app/bundles/HelloWorld/startup/HelloWorldAppClient.jsx.tt
|
229
|
-
- lib/generators/react_on_rails/templates/redux/base/client/app/bundles/HelloWorld/store/helloWorldStore.jsx
|
230
|
-
- lib/generators/react_on_rails/templates/redux/base/client/app/lib/middlewares/loggerMiddleware.js
|
231
|
-
- lib/generators/react_on_rails/templates/redux/server_rendering/client/app/bundles/HelloWorld/startup/HelloWorldAppServer.jsx
|
232
|
-
- lib/generators/react_on_rails/templates/ruby_linters/.rubocop.yml
|
233
|
-
- lib/generators/react_on_rails/templates/ruby_linters/.scss-lint.yml
|
234
|
-
- lib/generators/react_on_rails/templates/ruby_linters/lib/tasks/brakeman.rake
|
235
|
-
- lib/generators/react_on_rails/templates/ruby_linters/lib/tasks/ci.rake
|
236
|
-
- lib/generators/react_on_rails/templates/ruby_linters/ruby-lint.yml
|
237
|
-
- lib/react_on_rails.rb
|
238
|
-
- lib/react_on_rails/configuration.rb
|
239
|
-
- lib/react_on_rails/engine.rb
|
240
|
-
- lib/react_on_rails/prerender_error.rb
|
241
|
-
- lib/react_on_rails/server_rendering_pool.rb
|
242
|
-
- lib/react_on_rails/version.rb
|
243
|
-
- rakelib/docker.rake
|
244
|
-
- rakelib/dummy_apps.rake
|
245
|
-
- rakelib/example_type.rb
|
246
|
-
- rakelib/examples.rake
|
247
|
-
- rakelib/examples_config.yml
|
248
|
-
- rakelib/lint.rake
|
249
|
-
- rakelib/run_rspec.rake
|
250
|
-
- rakelib/task_helpers.rb
|
251
|
-
- react_on_rails.gemspec
|
252
|
-
- ruby-lint.yml
|
131
|
+
files: []
|
253
132
|
homepage: https://github.com/shakacode/react_on_rails
|
254
133
|
licenses:
|
255
134
|
- MIT
|
@@ -265,9 +144,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
265
144
|
version: '0'
|
266
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
267
146
|
requirements:
|
268
|
-
- - "
|
147
|
+
- - ">"
|
269
148
|
- !ruby/object:Gem::Version
|
270
|
-
version:
|
149
|
+
version: 1.3.1
|
271
150
|
requirements: []
|
272
151
|
rubyforge_project:
|
273
152
|
rubygems_version: 2.5.1
|
data/.babelrc
DELETED
data/.coveralls.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
service_name: travis-ci
|
data/.dockerignore
DELETED
data/.eslintignore
DELETED
data/.eslintrc
DELETED
@@ -1,48 +0,0 @@
|
|
1
|
-
---
|
2
|
-
parser: babel-eslint
|
3
|
-
|
4
|
-
extends: eslint-config-airbnb
|
5
|
-
|
6
|
-
plugins:
|
7
|
-
- react
|
8
|
-
|
9
|
-
globals:
|
10
|
-
__DEBUG_SERVER_ERRORS__: true
|
11
|
-
__SERVER_ERRORS__: true
|
12
|
-
|
13
|
-
env:
|
14
|
-
browser: true
|
15
|
-
node: true
|
16
|
-
mocha: true
|
17
|
-
|
18
|
-
rules:
|
19
|
-
### Variables
|
20
|
-
no-undef: 2
|
21
|
-
no-unused-vars: [2, { vars: all, args: none }]
|
22
|
-
|
23
|
-
### Stylistic issues
|
24
|
-
indent: [1, 2, { SwitchCase: 1, VariableDeclarator: 2 }]
|
25
|
-
id-length: [1, { min: 2, exceptions: [_, e, i, k, v] }]
|
26
|
-
|
27
|
-
### React
|
28
|
-
jsx-quotes: [1, prefer-double]
|
29
|
-
react/display-name: 0
|
30
|
-
react/jsx-boolean-value: [1, always]
|
31
|
-
react/jsx-curly-spacing: [1, never]
|
32
|
-
react/jsx-no-duplicate-props: [2, { ignoreCase: true }]
|
33
|
-
react/jsx-no-undef: 2
|
34
|
-
react/jsx-sort-prop-types: 0
|
35
|
-
react/jsx-sort-props: 0
|
36
|
-
react/jsx-uses-react: 2
|
37
|
-
react/jsx-uses-vars: 2
|
38
|
-
react/no-danger: 0
|
39
|
-
react/no-did-mount-set-state: 1
|
40
|
-
react/no-did-update-set-state: 0
|
41
|
-
react/no-multi-comp: 2
|
42
|
-
react/no-unknown-property: 2
|
43
|
-
react/prop-types: 1
|
44
|
-
react/react-in-jsx-scope: 2
|
45
|
-
react/require-extension: [1, { extensions: [.js, .jsx] }]
|
46
|
-
react/self-closing-comp: 2
|
47
|
-
react/sort-comp: 0 # Should be 1. `statics` should be on top.
|
48
|
-
react/wrap-multilines: 2
|
data/.gitignore
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
/.bundle/
|
2
|
-
/.yardoc
|
3
|
-
/Gemfile.lock
|
4
|
-
/_yardoc/
|
5
|
-
/coverage/
|
6
|
-
/doc/
|
7
|
-
/pkg/
|
8
|
-
/spec/reports/
|
9
|
-
/tmp/
|
10
|
-
*.gem
|
11
|
-
/vendor/
|
12
|
-
|
13
|
-
/spec/dummy/client/node_modules
|
14
|
-
/spec/dummy/app/assets/javascripts/generated/
|
15
|
-
/spec/dummy-react-013/client/node_modules
|
16
|
-
/spec/dummy-react-013/app/assets/javascripts/generated/
|
17
|
-
/spec/dummy-react-013/coverage/
|
18
|
-
/spec/dummy/coverage/
|
19
|
-
/spec/react_on_rails/dummy-for-generators/
|
20
|
-
|
21
|
-
# RVM
|
22
|
-
.ruby-version
|
23
|
-
.ruby-gemset
|
24
|
-
|
25
|
-
node_modules
|
26
|
-
examples
|
data/.jscsrc
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"preset": "airbnb",
|
3
|
-
"fileExtensions": [
|
4
|
-
".js",
|
5
|
-
".jsx"
|
6
|
-
],
|
7
|
-
"excludeFiles": [
|
8
|
-
"**/build/**",
|
9
|
-
"**/node_modules/**",
|
10
|
-
"**/generated/**",
|
11
|
-
"**/docs/**",
|
12
|
-
"**/tmp/**",
|
13
|
-
"**/sample_generated/**",
|
14
|
-
"**/coverage/**",
|
15
|
-
"**/vendor/**",
|
16
|
-
"**/dummy-for-generators/**",
|
17
|
-
"**/dummy/**",
|
18
|
-
"**/dummy-react-013/**"
|
19
|
-
],
|
20
|
-
"esprima": "babel-jscs",
|
21
|
-
"validateQuoteMarks": {
|
22
|
-
"mark": "'",
|
23
|
-
"escape": true,
|
24
|
-
"ignoreJSX": true
|
25
|
-
}
|
26
|
-
}
|
data/.rspec
DELETED
data/.rubocop.yml
DELETED
@@ -1,70 +0,0 @@
|
|
1
|
-
# This is the configuration used to check the rubocop source code.
|
2
|
-
# Check out: https://github.com/bbatsov/rubocop
|
3
|
-
|
4
|
-
AllCops:
|
5
|
-
Include:
|
6
|
-
- '**/Rakefile'
|
7
|
-
- '**/config.ru'
|
8
|
-
Exclude:
|
9
|
-
- 'vendor/**/*'
|
10
|
-
- 'spec/fixtures/**/*'
|
11
|
-
- 'node_modules/**/*'
|
12
|
-
- 'coverage/**/*'
|
13
|
-
- 'db/**/*'
|
14
|
-
- 'db/schema.rb'
|
15
|
-
- 'db/seeds.rb'
|
16
|
-
- 'client/node_modules/**/*'
|
17
|
-
- 'bin/**/*'
|
18
|
-
- !ruby/regexp /old_and_unused\.rb$/
|
19
|
-
- 'spec/react_on_rails/dummy-for-generators/**/*'
|
20
|
-
- 'examples/**/*'
|
21
|
-
|
22
|
-
Metrics/LineLength:
|
23
|
-
Max: 120
|
24
|
-
|
25
|
-
Style/StringLiterals:
|
26
|
-
EnforcedStyle: double_quotes
|
27
|
-
|
28
|
-
Style/Documentation:
|
29
|
-
Enabled: false
|
30
|
-
|
31
|
-
Lint/AssignmentInCondition:
|
32
|
-
Exclude:
|
33
|
-
- 'spec/dummy/bin/spring'
|
34
|
-
|
35
|
-
# Offense count: 2
|
36
|
-
Lint/HandleExceptions:
|
37
|
-
Exclude:
|
38
|
-
- 'spec/dummy/bin/rails'
|
39
|
-
- 'spec/dummy/bin/rake'
|
40
|
-
|
41
|
-
# Offense count: 1
|
42
|
-
Metrics/AbcSize:
|
43
|
-
Max: 23
|
44
|
-
|
45
|
-
# Offense count: 1
|
46
|
-
# Configuration parameters: CountComments.
|
47
|
-
Metrics/ClassLength:
|
48
|
-
Max: 114
|
49
|
-
|
50
|
-
Metrics/ParameterLists:
|
51
|
-
Max: 5
|
52
|
-
CountKeywordArgs: false
|
53
|
-
|
54
|
-
# Offense count: 9
|
55
|
-
# Configuration parameters: CountComments.
|
56
|
-
Metrics/MethodLength:
|
57
|
-
Max: 38
|
58
|
-
|
59
|
-
# Offense count: 1
|
60
|
-
# Configuration parameters: CountComments.
|
61
|
-
Metrics/ModuleLength:
|
62
|
-
Max: 150
|
63
|
-
|
64
|
-
# Offense count: 3
|
65
|
-
# Configuration parameters: AllowedVariables.
|
66
|
-
Style/GlobalVars:
|
67
|
-
Exclude:
|
68
|
-
- 'spec/dummy/config/environments/development.rb'
|
69
|
-
- 'spec/dummy-react-013/config/environments/development.rb'
|
70
|
-
|
data/.scss-lint.yml
DELETED
@@ -1,205 +0,0 @@
|
|
1
|
-
# See http://sass-guidelin.es/#zeros
|
2
|
-
|
3
|
-
scss_files:
|
4
|
-
- 'spec/dummy/app/assets/stylesheets/**/*.scss'
|
5
|
-
exclude:
|
6
|
-
- 'spec/dummy/app/assets/stylesheets/application.css'
|
7
|
-
linters:
|
8
|
-
# BangFormat:
|
9
|
-
# enabled: true
|
10
|
-
# space_before_bang: true
|
11
|
-
# space_after_bang: false
|
12
|
-
#
|
13
|
-
# BorderZero:
|
14
|
-
# enabled: true
|
15
|
-
# convention: zero # or `none`
|
16
|
-
#
|
17
|
-
ColorKeyword:
|
18
|
-
enabled: false
|
19
|
-
ColorVariable:
|
20
|
-
enabled: false
|
21
|
-
#
|
22
|
-
# Comment:
|
23
|
-
# enabled: true
|
24
|
-
#
|
25
|
-
# DebugStatement:
|
26
|
-
# enabled: true
|
27
|
-
#
|
28
|
-
# DeclarationOrder:
|
29
|
-
# enabled: true
|
30
|
-
#
|
31
|
-
# DuplicateProperty:
|
32
|
-
# enabled: true
|
33
|
-
#
|
34
|
-
# ElsePlacement:
|
35
|
-
# enabled: true
|
36
|
-
# style: same_line # or 'new_line'
|
37
|
-
#
|
38
|
-
# EmptyLineBetweenBlocks:
|
39
|
-
# enabled: true
|
40
|
-
# ignore_single_line_blocks: true
|
41
|
-
#
|
42
|
-
# EmptyRule:
|
43
|
-
# enabled: true
|
44
|
-
#
|
45
|
-
# FinalNewline:
|
46
|
-
# enabled: true
|
47
|
-
# present: true
|
48
|
-
#
|
49
|
-
HexLength:
|
50
|
-
enabled: true
|
51
|
-
style: long
|
52
|
-
|
53
|
-
HexNotation:
|
54
|
-
enabled: true
|
55
|
-
style: uppercase
|
56
|
-
#
|
57
|
-
# HexValidation:
|
58
|
-
# enabled: true
|
59
|
-
#
|
60
|
-
IdSelector:
|
61
|
-
enabled: true
|
62
|
-
#
|
63
|
-
# ImportantRule:
|
64
|
-
# enabled: true
|
65
|
-
#
|
66
|
-
# ImportPath:
|
67
|
-
# enabled: true
|
68
|
-
# leading_underscore: false
|
69
|
-
# filename_extension: false
|
70
|
-
#
|
71
|
-
# Indentation:
|
72
|
-
# enabled: true
|
73
|
-
# allow_non_nested_indentation: false
|
74
|
-
# character: space # or 'tab'
|
75
|
-
# width: 2
|
76
|
-
#
|
77
|
-
LeadingZero:
|
78
|
-
enabled: true
|
79
|
-
style: include_zero
|
80
|
-
#
|
81
|
-
# MergeableSelector:
|
82
|
-
# enabled: true
|
83
|
-
# force_nesting: true
|
84
|
-
#
|
85
|
-
# NameFormat:
|
86
|
-
# enabled: true
|
87
|
-
# allow_leading_underscore: true
|
88
|
-
# convention: hyphenated_lowercase # or 'camel_case', or 'snake_case', or a regex pattern
|
89
|
-
#
|
90
|
-
# NestingDepth:
|
91
|
-
# enabled: true
|
92
|
-
# max_depth: 3
|
93
|
-
#
|
94
|
-
# PlaceholderInExtend:
|
95
|
-
# enabled: true
|
96
|
-
#
|
97
|
-
# PropertyCount:
|
98
|
-
# enabled: false
|
99
|
-
# include_nested: false
|
100
|
-
# max_properties: 10
|
101
|
-
#
|
102
|
-
# PropertyUnits:
|
103
|
-
# enabled: true
|
104
|
-
# global: [
|
105
|
-
# 'ch', 'em', 'ex', 'rem', # Font-relative lengths
|
106
|
-
# 'cm', 'in', 'mm', 'pc', 'pt', 'px', 'q', # Absolute lengths
|
107
|
-
# 'vh', 'vw', 'vmin', 'vmax', # Viewport-percentage lengths
|
108
|
-
# 'deg', 'grad', 'rad', 'turn', # Angle
|
109
|
-
# 'ms', 's', # Duration
|
110
|
-
# 'Hz', 'kHz', # Frequency
|
111
|
-
# 'dpi', 'dpcm', 'dppx', # Resolution
|
112
|
-
# '%', # Other
|
113
|
-
# ]
|
114
|
-
# properties: {}
|
115
|
-
#
|
116
|
-
# PropertySortOrder:
|
117
|
-
# enabled: true
|
118
|
-
# ignore_unspecified: false
|
119
|
-
# separate_groups: false
|
120
|
-
#
|
121
|
-
# PropertySpelling:
|
122
|
-
# enabled: true
|
123
|
-
# extra_properties: []
|
124
|
-
#
|
125
|
-
# QualifyingElement:
|
126
|
-
# enabled: true
|
127
|
-
# allow_element_with_attribute: false
|
128
|
-
# allow_element_with_class: false
|
129
|
-
# allow_element_with_id: false
|
130
|
-
#
|
131
|
-
# SelectorDepth:
|
132
|
-
# enabled: true
|
133
|
-
# max_depth: 3
|
134
|
-
#
|
135
|
-
# SelectorFormat:
|
136
|
-
# enabled: true
|
137
|
-
# convention: hyphenated_lowercase # or 'strict_BEM', or 'hyphenated_BEM', or 'snake_case', or 'camel_case', or a regex pattern
|
138
|
-
#
|
139
|
-
# Shorthand:
|
140
|
-
# enabled: true
|
141
|
-
# allowed_shorthands: [1, 2, 3]
|
142
|
-
#
|
143
|
-
# SingleLinePerProperty:
|
144
|
-
# enabled: true
|
145
|
-
# allow_single_line_rule_sets: true
|
146
|
-
#
|
147
|
-
# SingleLinePerSelector:
|
148
|
-
# enabled: true
|
149
|
-
#
|
150
|
-
# SpaceAfterComma:
|
151
|
-
# enabled: true
|
152
|
-
#
|
153
|
-
# SpaceAfterPropertyColon:
|
154
|
-
# enabled: true
|
155
|
-
# style: one_space # or 'no_space', or 'at_least_one_space', or 'aligned'
|
156
|
-
#
|
157
|
-
# SpaceAfterPropertyName:
|
158
|
-
# enabled: true
|
159
|
-
#
|
160
|
-
# SpaceBeforeBrace:
|
161
|
-
# enabled: true
|
162
|
-
# style: space # or 'new_line'
|
163
|
-
# allow_single_line_padding: false
|
164
|
-
#
|
165
|
-
# SpaceBetweenParens:
|
166
|
-
# enabled: true
|
167
|
-
# spaces: 0
|
168
|
-
#
|
169
|
-
# StringQuotes:
|
170
|
-
# enabled: true
|
171
|
-
# style: single_quotes # or double_quotes
|
172
|
-
#
|
173
|
-
# TrailingSemicolon:
|
174
|
-
# enabled: true
|
175
|
-
#
|
176
|
-
# TrailingZero:
|
177
|
-
# enabled: false
|
178
|
-
#
|
179
|
-
# UnnecessaryMantissa:
|
180
|
-
# enabled: true
|
181
|
-
#
|
182
|
-
# UnnecessaryParentReference:
|
183
|
-
# enabled: true
|
184
|
-
#
|
185
|
-
# UrlFormat:
|
186
|
-
# enabled: true
|
187
|
-
#
|
188
|
-
# UrlQuotes:
|
189
|
-
# enabled: true
|
190
|
-
#
|
191
|
-
# VariableForProperty:
|
192
|
-
# enabled: false
|
193
|
-
# properties: []
|
194
|
-
#
|
195
|
-
# VendorPrefix:
|
196
|
-
# enabled: true
|
197
|
-
# identifier_list: base
|
198
|
-
# additional_identifiers: []
|
199
|
-
# excluded_identifiers: []
|
200
|
-
#
|
201
|
-
# ZeroUnit:
|
202
|
-
# enabled: true
|
203
|
-
#
|
204
|
-
# Compass::*:
|
205
|
-
# enabled: false
|