jt_tools 0.0.4 → 0.0.9

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0c63801c8e8fcffc02beb0dbe676efd7299b92dd6fda606ec8f34399defe1c77
4
- data.tar.gz: a89b329f0d055f5c664115b1f8cdaf18074650ce566c3507291fa70da79d3a56
3
+ metadata.gz: 001017d403c0730cb5c5af31dfb9dd95bed9de360e7205673c0dfddc43002d04
4
+ data.tar.gz: 43385b87bfd8cedd5fefaf544a07fd1c07276b580994c3b5be4f534fb6a552bb
5
5
  SHA512:
6
- metadata.gz: 589c5368d864f56acd70e1128feb81b21864a806c592ffef62da0070194063911f9c67beaad4ce98f2606f1056c9dd0fec2e315a38189e30990c14e104d01ea1
7
- data.tar.gz: 2f7721a86dd0a52e40ee9d20eed1dfcd5f10da41ba89144eb5ccaabcd106b459235a4aa1e90b0b5e976be7e9f5e63d1acb78c3d9e0e3bc8afd520dcc1cbdca46
6
+ metadata.gz: a37e5ea96f886a3a34c9604b1f6f60a54bea85079f0d531fda8dc67055967ba94fd5c096434a371581cb0156c557bf506d323a38ea6ef001ddb088942ba2614e
7
+ data.tar.gz: c8d44d064d64cf528c0129ecc89a5f965e640e2511ba82f9fd77328e039814c207fae80534919bb253ff58b8dbb8ecc38305ee37bfc38cce6d998a562dfc0e47
@@ -3,7 +3,7 @@ version: 2.1
3
3
  jobs:
4
4
  test:
5
5
  docker:
6
- - image: circleci/ruby:2.6-node
6
+ - image: cimg/ruby:2.7-node
7
7
  environment:
8
8
  DATABASE_URL: postgresql://ubuntu@127.0.0.1/db_test
9
9
  BUNDLE_JOBS: 4
@@ -13,15 +13,33 @@ jobs:
13
13
  environment:
14
14
  POSTGRES_USER: ubuntu
15
15
  POSTGRES_DB: db_test
16
- parallelism: 1
16
+ parallelism: 2
17
17
  steps:
18
18
  - checkout
19
+ - restore_cache:
20
+ keys:
21
+ - rails-v2-{{ arch }}-{{ .Revision }}
22
+ - rails-v2-{{ arch }}-
23
+ - rails-v2-
24
+
19
25
  - run: gem install rails -N --update-sources
20
- - run: sudo apt-get install cmake curl yamllint python3-setuptools python3-pkg-resources
21
- - run: curl -fLSs https://circle.ci/cli | sudo bash
26
+
27
+ - run: sudo apt-get update -qq && sudo apt-get install -yq --no-install-recommends
28
+ cmake curl yamllint python3-setuptools python3-pkg-resources pkg-config
29
+ - run: curl -fLSs https://raw.githubusercontent.com/CircleCI-Public/circleci-cli/master/install.sh |
30
+ sudo bash
22
31
  - run: git config --global user.email "you@example.com" && git config --global user.name "Your Name"
23
- - run: bin/test
24
- - run: TEST_APP_TEMPLATE=true bin/test
32
+
33
+ - run: |
34
+ [[ $CIRCLE_NODE_INDEX == "0" ]] || bin/test
35
+ - run: |
36
+ [[ $CIRCLE_NODE_INDEX == "1" ]] || TEST_APP_TEMPLATE=true bin/test
37
+
38
+ - save_cache:
39
+ key: rails-v2-{{ arch }}-{{ .Revision }}
40
+ paths:
41
+ - /home/circleci/.rubygems
42
+ - /home/circleci/.cache
25
43
 
26
44
  workflows:
27
45
  test:
@@ -0,0 +1,10 @@
1
+ default_ignores: false
2
+ #fix: true
3
+ format: progress
4
+ parallel: true
5
+ ruby_version: 2.7.1
6
+
7
+ ignore:
8
+ - 'test/**/*':
9
+ - Layout/AlignHash
10
+ - 'tmp/**/*'
data/Gemfile CHANGED
@@ -1,4 +1,6 @@
1
- source 'https://rubygems.org'
1
+ source "https://rubygems.org"
2
2
 
3
3
  # Specify your gem's dependencies in jt_tools.gemspec
4
4
  gemspec
5
+
6
+ gem "standard"
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  [![CircleCI](https://circleci.com/gh/jetthoughts/jt_tools.svg?style=svg)](https://circleci.com/gh/jetthoughts/jt_tools)
2
2
  [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fjetthoughts%2Fjt_tools.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fjetthoughts%2Fjt_tools?ref=badge_shield)
3
+ [![Gem Version](https://badge.fury.io/rb/jt_tools.svg)](https://badge.fury.io/rb/jt_tools)
3
4
 
4
5
  # JetThoughts Tools
5
6
 
@@ -22,6 +23,7 @@ Pre-setup for service
22
23
  * [CircleCI](https://circleci.com/)
23
24
  * [Codecov](https://codecov.io/) and [Simplecov](https://github.com/colszowka/simplecov)
24
25
  * [Dependabot](https://dependabot.com/)
26
+ * [MemCachier](https://www.memcachier.com/)
25
27
  * Code Styles:
26
28
  * [Pronto](https://jtway.co/effortless-code-review-for-pull-request-changes-241206b1cb04)
27
29
  * [Rubocop](https://github.com/rubocop-hq/rubocop)
@@ -39,7 +41,7 @@ rails app:template LOCATION=https://raw.githubusercontent.com/jetthoughts/jt_too
39
41
  Add this line to your application's Gemfile:
40
42
 
41
43
  ```ruby
42
- gem 'jt_tools', groups: [:development]
44
+ gem 'jt_tools', groups: [:development], github: 'jetthoughts/jt_tools'
43
45
  ```
44
46
 
45
47
  And then execute:
data/Rakefile CHANGED
@@ -1,12 +1,12 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'bundler/gem_tasks'
4
- require 'rake/testtask'
3
+ require "bundler/gem_tasks"
4
+ require "rake/testtask"
5
5
 
6
6
  Rake::TestTask.new(:test) do |t|
7
- t.libs << 'test'
8
- t.libs << 'lib'
9
- t.test_files = FileList['test/**/*_test.rb']
7
+ t.libs << "test"
8
+ t.libs << "lib"
9
+ t.test_files = FileList["test/**/*_test.rb"]
10
10
  end
11
11
 
12
12
  task default: :test
data/bin/test CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- set -xeo pipefail
3
+ set -eo pipefail
4
4
 
5
5
  echo "=> Yamllint:"
6
6
  yamllint --config-file lib/install/.yamllint.yml --strict .*/*.yml
@@ -16,15 +16,15 @@ rm -rf test_tmpl
16
16
  # Test installation of missed gems on applying template
17
17
  gem uninstall oj || true
18
18
 
19
- if [[ "TEST_APP_TEMPLATE" == "true" ]]
19
+ if [[ "$TEST_APP_TEMPLATE" == "true" ]]
20
20
  then
21
- rails new test_tmpl --quiet
21
+ rails new test_tmpl --quiet --database postgresql
22
22
  cd test_tmpl
23
- rails app:template LOCATION=../template.rb
23
+ rails app:template LOCATION=../../template.rb
24
24
  else
25
25
  rails new test_tmpl --template ../template.rb --quiet --database postgresql
26
26
  cd test_tmpl
27
- bin/setup
27
+ DISABLE_SPRING=1 bin/setup
28
28
  fi
29
29
 
30
30
  echo " => Verify CircleCI config:"
@@ -50,13 +50,14 @@ git commit -m 'Adds sample_for_linters'
50
50
  bin/rubocop --fail-level F sample_for_linters.rb
51
51
  bin/pronto run -c HEAD~1 --no-exit-code
52
52
  BUNDLE_GEMFILE=Gemfile.tools bin/bundle exec rails_best_practices --without-color --silent --test .
53
- BUNDLE_GEMFILE=Gemfile.tools bin/bundle exec erblint --config ../../lib/install/.erb-lint.yml --autocorrect .
53
+ # FIXME: https://github.com/Shopify/erb-lint/issues/162
54
+ # BUNDLE_GEMFILE=Gemfile.tools bin/bundle exec erblint --config ../../lib/install/.erb-lint.yml --autocorrect .
54
55
 
55
56
  CIRCLECI=false bin/lint-pr -f text
56
57
 
57
58
  echo " => Run git hooks verifications"
58
- bin/git-hooks/post-merge.sample
59
- CIRCLECI=false bin/git-hooks/pre-push.sample
59
+ bin/git-hooks/post-merge
60
+ CIRCLECI=false bin/git-hooks/pre-push
60
61
 
61
62
  bin/rubocop --config ../../lib/install/.rubocop.yml --debug --extra-details --display-style-guide --parallel ../../lib
62
63
  node_modules/.bin/eslint --config ../../lib/install/.eslintrc.js --quiet --no-color ../../lib/**/.*.js
@@ -1,25 +1,25 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- lib = File.expand_path('lib', __dir__)
3
+ lib = File.expand_path("lib", __dir__)
4
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
- require 'jt_tools/version'
5
+ require "jt_tools/version"
6
6
 
7
7
  Gem::Specification.new do |spec|
8
- spec.name = 'jt_tools'
8
+ spec.name = "jt_tools"
9
9
  spec.version = JtTools::VERSION
10
- spec.authors = ['Paul Keen']
11
- spec.email = ['pftg@users.noreply.github.com']
10
+ spec.authors = ["Paul Keen"]
11
+ spec.email = ["pftg@users.noreply.github.com"]
12
12
 
13
- spec.summary = 'Setup development scripts to manage code base effectively'
14
- spec.description = 'Helpful scripts to run linters locally and on CI'
15
- spec.homepage = 'https://jtway.co'
16
- spec.license = 'MIT'
13
+ spec.summary = "Setup development scripts to manage code base effectively"
14
+ spec.description = "Helpful scripts to run linters locally and on CI"
15
+ spec.homepage = "https://jtway.co"
16
+ spec.license = "MIT"
17
17
 
18
- spec.metadata['homepage_uri'] = spec.homepage
19
- spec.metadata['source_code_uri'] = 'https://github.com/jetthoughts/jt-tools/'
20
- spec.metadata['changelog_uri'] = 'https://github.com/jetthoughts/jt-tools/'
18
+ spec.metadata["homepage_uri"] = spec.homepage
19
+ spec.metadata["source_code_uri"] = "https://github.com/jetthoughts/jt-tools/"
20
+ spec.metadata["changelog_uri"] = "https://github.com/jetthoughts/jt-tools/"
21
21
 
22
- spec.add_dependency 'railties', '>= 4.2'
22
+ spec.add_dependency "railties", ">= 4.2"
23
23
 
24
24
  # Specify which files should be added to the gem when it is released.
25
25
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
@@ -27,5 +27,5 @@ Gem::Specification.new do |spec|
27
27
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
28
28
  end
29
29
 
30
- spec.require_paths = ['lib']
30
+ spec.require_paths = ["lib"]
31
31
  end
@@ -6,6 +6,10 @@
6
6
 
7
7
  version: 2.1
8
8
 
9
+ orbs:
10
+ ruby: circleci/ruby@1.0.0
11
+ node: circleci/node@2.1.1
12
+
9
13
  workflows:
10
14
  version: 2
11
15
  test:
@@ -34,7 +38,7 @@ jobs:
34
38
  test:
35
39
  docker:
36
40
  # specify the version you desire here
37
- - image: circleci/ruby:2.6-node-browsers
41
+ - image: circleci/ruby:2.7-node-browsers
38
42
  environment:
39
43
  BUNDLE_GEMFILE: Gemfile
40
44
  BUNDLE_PATH: vendor/bundle
@@ -58,45 +62,31 @@ jobs:
58
62
  steps:
59
63
  - checkout
60
64
 
61
- - run:
62
- name: Install Bundler
63
- command: |
64
- echo 'export BUNDLER_VERSION=$(cat Gemfile.lock | tail -1 | tr -d " ")' >> $BASH_ENV
65
- source $BASH_ENV
66
- gem install bundler:$BUNDLER_VERSION
67
-
68
- # Download and cache dependencies
69
65
  - restore_cache:
70
- name: Restore Bundler Cache
66
+ name: Restore Bundler Cache between Branches
71
67
  keys:
72
68
  - v1-dependencies-{{ checksum "Gemfile.lock" }}
73
69
  - v1-dependencies-
74
70
 
75
- - run:
76
- name: Install Bundler Dependencies
77
- command: bin/bundle check --path vendor/bundle || bin/bundle install --deployment
71
+ - ruby/install-deps:
72
+ bundler-version: '`cat Gemfile.lock | tail -1 | tr -d " "`'
73
+ key: v1-dependencies
74
+ with-cache: false
75
+ path: './vendor/bundle'
78
76
 
79
77
  - save_cache:
80
- name: Save Bundler Cache
78
+ name: Save Bundler Cache between Branches
81
79
  paths:
82
80
  - ./vendor/bundle
83
81
  key: v1-dependencies-{{ checksum "Gemfile.lock" }}
84
82
 
85
- - restore_cache:
86
- name: Restore Yarn Cache
87
- keys:
88
- - v1-yarn-dependencies-{{ checksum "yarn.lock" }}
89
- - v1-yarn-dependencies-
90
-
91
- - run:
92
- name: Install Yarn Dependencies
93
- command: bin/yarn check || bin/yarn install
94
-
95
- - save_cache:
96
- name: Save Yarn Cache
97
- paths:
98
- - ./node_modules
99
- key: v1-yarn-dependencies-{{ checksum "yarn.lock" }}
83
+ - node/install:
84
+ node-version: latest
85
+ - node/install-packages:
86
+ app-dir: .
87
+ pkg-manager: yarn
88
+ cache-key: yarn.lock
89
+ cache-version: v1
100
90
 
101
91
  - restore_cache:
102
92
  keys:
@@ -142,11 +132,8 @@ jobs:
142
132
  paths:
143
133
  - tmp/cache/jest
144
134
 
145
- - run:
146
- name: RSpec Tests
147
- command: |
148
- bin/rails db:schema:load
149
- bin/rspec --format RspecJunitFormatter --out tmp/reports/rspec-results.xml --format progress
135
+ - run: bin/rails db:schema:load
136
+ # rails test
150
137
 
151
138
  # collect reports
152
139
  - store_test_results:
@@ -155,7 +142,7 @@ jobs:
155
142
  path: ./coverage
156
143
  lint:
157
144
  docker:
158
- - image: circleci/ruby:2.6-stretch-node
145
+ - image: cimg/ruby:2.7-node
159
146
  environment:
160
147
  DISABLE_SPRING: 1
161
148
  BUNDLE_GEMFILE: Gemfile.tools
@@ -172,7 +159,9 @@ jobs:
172
159
 
173
160
  - run:
174
161
  name: Install cmake for building pronto dependencies
175
- command: sudo apt-get update && sudo apt-get install cmake yamllint python3-setuptools python3-pkg-resources
162
+ command: sudo apt-get update -qq
163
+ && sudo apt-get install -yq --no-install-recommends
164
+ cmake yamllint python3-setuptools python3-pkg-resources pkg-config
176
165
 
177
166
  - run:
178
167
  name: Install Bundle Dependencies
@@ -192,7 +181,7 @@ jobs:
192
181
 
193
182
  upgrade_tools:
194
183
  docker:
195
- - image: circleci/ruby:2.6-stretch-node
184
+ - image: cimg/ruby:2.7-node
196
185
  environment:
197
186
  DISABLE_SPRING: 1
198
187
  BUNDLE_GEMFILE: Gemfile.tools
@@ -209,9 +198,11 @@ jobs:
209
198
  source $BASH_ENV
210
199
  gem install bundler:$BUNDLER_VERSION
211
200
 
212
- - run: sudo apt-get update && sudo apt-get install cmake yamllint python3-setuptools python3-pkg-resources
201
+ - run:
202
+ name: Install System Dependencies
203
+ command: sudo apt-get update
204
+ && sudo apt-get install cmake yamllint python3-setuptools python3-pkg-resources pkg-config
213
205
 
214
206
  - run:
215
207
  name: Run Gemfile tools update in separate branch
216
- command: |
217
- ./bin/circleci-auto_upgrade_tools
208
+ command: ./bin/circleci-auto_upgrade_tools
@@ -15,268 +15,37 @@ ij_continuation_indent_size = 2
15
15
  ij_css_align_closing_brace_with_properties = false
16
16
  ij_css_blank_lines_around_nested_selector = 1
17
17
  ij_css_blank_lines_between_blocks = 1
18
- # ij_css_brace_placement = 0
19
- # ij_css_enforce_quotes_on_format = false
20
- # ij_css_hex_color_long_format = false
21
- # ij_css_hex_color_lower_case = false
22
- # ij_css_hex_color_short_format = false
23
- # ij_css_hex_color_upper_case = false
24
18
  ij_css_keep_blank_lines_in_code = 2
25
- # ij_css_keep_indents_on_empty_lines = false
26
- # ij_css_keep_single_line_blocks = false
27
19
  ij_css_properties_order = font,font-family,font-size,font-weight,font-style,font-variant,font-size-adjust,font-stretch,line-height,position,z-index,top,right,bottom,left,display,visibility,float,clear,overflow,overflow-x,overflow-y,clip,zoom,align-content,align-items,align-self,flex,flex-flow,flex-basis,flex-direction,flex-grow,flex-shrink,flex-wrap,justify-content,order,box-sizing,width,min-width,max-width,height,min-height,max-height,margin,margin-top,margin-right,margin-bottom,margin-left,padding,padding-top,padding-right,padding-bottom,padding-left,table-layout,empty-cells,caption-side,border-spacing,border-collapse,list-style,list-style-position,list-style-type,list-style-image,content,quotes,counter-reset,counter-increment,resize,cursor,user-select,nav-index,nav-up,nav-right,nav-down,nav-left,transition,transition-delay,transition-timing-function,transition-duration,transition-property,transform,transform-origin,animation,animation-name,animation-duration,animation-play-state,animation-timing-function,animation-delay,animation-iteration-count,animation-direction,text-align,text-align-last,vertical-align,white-space,text-decoration,text-emphasis,text-emphasis-color,text-emphasis-style,text-emphasis-position,text-indent,text-justify,letter-spacing,word-spacing,text-outline,text-transform,text-wrap,text-overflow,text-overflow-ellipsis,text-overflow-mode,word-wrap,word-break,tab-size,hyphens,pointer-events,opacity,color,border,border-width,border-style,border-color,border-top,border-top-width,border-top-style,border-top-color,border-right,border-right-width,border-right-style,border-right-color,border-bottom,border-bottom-width,border-bottom-style,border-bottom-color,border-left,border-left-width,border-left-style,border-left-color,border-radius,border-top-left-radius,border-top-right-radius,border-bottom-right-radius,border-bottom-left-radius,border-image,border-image-source,border-image-slice,border-image-width,border-image-outset,border-image-repeat,outline,outline-width,outline-style,outline-color,outline-offset,background,background-color,background-image,background-repeat,background-attachment,background-position,background-position-x,background-position-y,background-clip,background-origin,background-size,box-decoration-break,box-shadow,text-shadow
28
- # ij_css_space_after_colon = true
29
- # ij_css_space_before_opening_brace = true
30
- # ij_css_use_double_quotes = true
31
- # ij_css_value_alignment = 0
32
20
 
33
21
  [*.haml]
34
22
  tab_width = 2
35
23
  ij_haml_keep_indents_on_empty_lines = false
36
24
 
37
25
  [*.properties]
38
- # ij_properties_align_group_field_declarations = false
39
26
 
40
27
  [*.scss]
41
28
  ij_continuation_indent_size = 2
42
29
  ij_scss_align_closing_brace_with_properties = false
43
30
  ij_scss_blank_lines_around_nested_selector = 1
44
31
  ij_scss_blank_lines_between_blocks = 1
45
- # ij_scss_brace_placement = 0
46
- # ij_scss_enforce_quotes_on_format = false
47
- # ij_scss_hex_color_long_format = false
48
- # ij_scss_hex_color_lower_case = false
49
- # ij_scss_hex_color_short_format = false
50
- # ij_scss_hex_color_upper_case = false
51
- # ij_scss_keep_blank_lines_in_code = 2
52
- # ij_scss_keep_indents_on_empty_lines = false
53
- # ij_scss_keep_single_line_blocks = false
54
- # ij_scss_properties_order = font,font-family,font-size,font-weight,font-style,font-variant,font-size-adjust,font-stretch,line-height,position,z-index,top,right,bottom,left,display,visibility,float,clear,overflow,overflow-x,overflow-y,clip,zoom,align-content,align-items,align-self,flex,flex-flow,flex-basis,flex-direction,flex-grow,flex-shrink,flex-wrap,justify-content,order,box-sizing,width,min-width,max-width,height,min-height,max-height,margin,margin-top,margin-right,margin-bottom,margin-left,padding,padding-top,padding-right,padding-bottom,padding-left,table-layout,empty-cells,caption-side,border-spacing,border-collapse,list-style,list-style-position,list-style-type,list-style-image,content,quotes,counter-reset,counter-increment,resize,cursor,user-select,nav-index,nav-up,nav-right,nav-down,nav-left,transition,transition-delay,transition-timing-function,transition-duration,transition-property,transform,transform-origin,animation,animation-name,animation-duration,animation-play-state,animation-timing-function,animation-delay,animation-iteration-count,animation-direction,text-align,text-align-last,vertical-align,white-space,text-decoration,text-emphasis,text-emphasis-color,text-emphasis-style,text-emphasis-position,text-indent,text-justify,letter-spacing,word-spacing,text-outline,text-transform,text-wrap,text-overflow,text-overflow-ellipsis,text-overflow-mode,word-wrap,word-break,tab-size,hyphens,pointer-events,opacity,color,border,border-width,border-style,border-color,border-top,border-top-width,border-top-style,border-top-color,border-right,border-right-width,border-right-style,border-right-color,border-bottom,border-bottom-width,border-bottom-style,border-bottom-color,border-left,border-left-width,border-left-style,border-left-color,border-radius,border-top-left-radius,border-top-right-radius,border-bottom-right-radius,border-bottom-left-radius,border-image,border-image-source,border-image-slice,border-image-width,border-image-outset,border-image-repeat,outline,outline-width,outline-style,outline-color,outline-offset,background,background-color,background-image,background-repeat,background-attachment,background-position,background-position-x,background-position-y,background-clip,background-origin,background-size,box-decoration-break,box-shadow,text-shadow
55
- # ij_scss_space_after_colon = true
56
- # ij_scss_space_before_opening_brace = true
57
- # ij_scss_use_double_quotes = true
58
- # ij_scss_value_alignment = 0
59
32
 
60
33
  [.editorconfig]
61
- # ij_editorconfig_align_group_field_declarations = true
62
- # ij_editorconfig_space_after_colon = true
63
- # ij_editorconfig_space_after_comma = true
64
- # ij_editorconfig_space_before_colon = false
65
- # ij_editorconfig_space_before_comma = false
66
- # ij_editorconfig_spaces_around_assignment_operators = true
67
34
 
68
35
  [{*.js,*.cjs}]
69
36
  ij_continuation_indent_size = 2
70
- # ij_javascript_align_imports = false
71
- # ij_javascript_align_multiline_array_initializer_expression = false
72
- # ij_javascript_align_multiline_binary_operation = false
73
- # ij_javascript_align_multiline_chained_methods = false
74
- # ij_javascript_align_multiline_extends_list = false
75
- # ij_javascript_align_multiline_for = false
76
- # ij_javascript_align_multiline_parameters = false
77
- # ij_javascript_align_multiline_parameters_in_calls = false
78
- # ij_javascript_align_multiline_ternary_operation = false
79
- # ij_javascript_align_object_properties = 0
80
- # ij_javascript_align_union_types = false
81
- # ij_javascript_align_var_statements = 0
82
- # ij_javascript_array_initializer_new_line_after_left_brace = false
83
- # ij_javascript_array_initializer_right_brace_on_new_line = false
84
- # ij_javascript_array_initializer_wrap = off
85
- # ij_javascript_assignment_wrap = off
86
- # ij_javascript_binary_operation_sign_on_next_line = false
87
- # ij_javascript_binary_operation_wrap = off
88
- # ij_javascript_blacklist_imports = rxjs/Rx,node_modules/**/*,@angular/material,@angular/material/typings/**
89
- # ij_javascript_blank_lines_after_imports = 1
90
- # ij_javascript_blank_lines_around_class = 1
91
- # ij_javascript_blank_lines_around_field = 0
92
- # ij_javascript_blank_lines_around_function = 1
93
- # ij_javascript_blank_lines_around_method = 1
94
- # ij_javascript_block_brace_style = end_of_line
95
- # ij_javascript_call_parameters_new_line_after_left_paren = false
96
- # ij_javascript_call_parameters_right_paren_on_new_line = false
97
- # ij_javascript_call_parameters_wrap = off
98
- # ij_javascript_catch_on_new_line = false
99
- # ij_javascript_chained_call_dot_on_new_line = true
100
- # ij_javascript_class_brace_style = end_of_line
101
- # ij_javascript_comma_on_new_line = false
102
- # ij_javascript_do_while_brace_force = never
103
- # ij_javascript_else_on_new_line = false
104
- # ij_javascript_enforce_trailing_comma = keep
105
- # ij_javascript_extends_keyword_wrap = off
106
- # ij_javascript_extends_list_wrap = off
107
- # ij_javascript_field_prefix = _
108
- # ij_javascript_file_name_style = relaxed
109
- # ij_javascript_finally_on_new_line = false
110
- # ij_javascript_for_brace_force = never
111
- # ij_javascript_for_statement_new_line_after_left_paren = false
112
- # ij_javascript_for_statement_right_paren_on_new_line = false
113
- # ij_javascript_for_statement_wrap = off
114
- # ij_javascript_force_quote_style = true
115
- # ij_javascript_force_semicolon_style = true
116
- # ij_javascript_function_expression_brace_style = end_of_line
117
- # ij_javascript_if_brace_force = never
118
- # ij_javascript_import_merge_members = global
119
- # ij_javascript_import_prefer_absolute_path = global
120
- # ij_javascript_import_sort_members = true
121
- # ij_javascript_import_sort_module_name = false
122
- # ij_javascript_import_use_node_resolution = true
123
- # ij_javascript_imports_wrap = on_every_item
124
- # ij_javascript_indent_case_from_switch = true
125
- # ij_javascript_indent_chained_calls = true
126
- # ij_javascript_indent_package_children = 0
127
- # ij_javascript_jsx_attribute_value = braces
128
- # ij_javascript_keep_blank_lines_in_code = 1
129
- # ij_javascript_keep_first_column_comment = true
130
- # ij_javascript_keep_indents_on_empty_lines = false
131
- # ij_javascript_keep_line_breaks = true
132
- # ij_javascript_keep_simple_blocks_in_one_line = true
133
- # ij_javascript_keep_simple_methods_in_one_line = true
134
- # ij_javascript_line_comment_add_space = true
135
- # ij_javascript_line_comment_at_first_column = false
136
- # ij_javascript_method_brace_style = end_of_line
137
- # ij_javascript_method_call_chain_wrap = off
138
- # ij_javascript_method_parameters_new_line_after_left_paren = false
139
- # ij_javascript_method_parameters_right_paren_on_new_line = false
140
- # ij_javascript_method_parameters_wrap = off
141
- # ij_javascript_object_literal_wrap = on_every_item
142
- # ij_javascript_parentheses_expression_new_line_after_left_paren = false
143
- # ij_javascript_parentheses_expression_right_paren_on_new_line = false
144
- # ij_javascript_place_assignment_sign_on_next_line = false
145
- # ij_javascript_prefer_as_type_cast = false
146
- # ij_javascript_prefer_parameters_wrap = false
147
- # ij_javascript_reformat_c_style_comments = false
148
- # ij_javascript_space_after_colon = true
149
- # ij_javascript_space_after_comma = true
150
- # ij_javascript_space_after_dots_in_rest_parameter = false
151
- # ij_javascript_space_after_generator_mult = true
152
- # ij_javascript_space_after_property_colon = true
153
- # ij_javascript_space_after_quest = true
154
- # ij_javascript_space_after_type_colon = true
155
- # ij_javascript_space_after_unary_not = false
156
- # ij_javascript_space_before_async_arrow_lparen = true
157
- # ij_javascript_space_before_catch_keyword = true
158
- # ij_javascript_space_before_catch_left_brace = true
159
- # ij_javascript_space_before_catch_parentheses = true
160
- # ij_javascript_space_before_class_lbrace = true
161
- # ij_javascript_space_before_class_left_brace = true
162
- # ij_javascript_space_before_colon = true
163
- # ij_javascript_space_before_comma = false
164
- # ij_javascript_space_before_do_left_brace = true
165
- # ij_javascript_space_before_else_keyword = true
166
- # ij_javascript_space_before_else_left_brace = true
167
- # ij_javascript_space_before_finally_keyword = true
168
- # ij_javascript_space_before_finally_left_brace = true
169
- # ij_javascript_space_before_for_left_brace = true
170
- # ij_javascript_space_before_for_parentheses = true
171
- # ij_javascript_space_before_for_semicolon = false
172
- # ij_javascript_space_before_function_left_parenth = true
173
- # ij_javascript_space_before_generator_mult = true
174
- # ij_javascript_space_before_if_left_brace = true
175
- # ij_javascript_space_before_if_parentheses = true
176
- # ij_javascript_space_before_method_call_parentheses = false
177
- # ij_javascript_space_before_method_left_brace = true
178
- # ij_javascript_space_before_method_parentheses = true
179
- # ij_javascript_space_before_property_colon = false
180
- # ij_javascript_space_before_quest = true
181
- # ij_javascript_space_before_switch_left_brace = true
182
- # ij_javascript_space_before_switch_parentheses = true
183
- # ij_javascript_space_before_try_left_brace = true
184
- # ij_javascript_space_before_type_colon = false
185
- # ij_javascript_space_before_unary_not = false
186
- # ij_javascript_space_before_while_keyword = true
187
- # ij_javascript_space_before_while_left_brace = true
188
- # ij_javascript_space_before_while_parentheses = true
189
- # ij_javascript_spaces_around_additive_operators = true
190
- # ij_javascript_spaces_around_arrow_function_operator = true
191
- # ij_javascript_spaces_around_assignment_operators = true
192
- # ij_javascript_spaces_around_bitwise_operators = true
193
- # ij_javascript_spaces_around_equality_operators = true
194
- # ij_javascript_spaces_around_logical_operators = true
195
- # ij_javascript_spaces_around_multiplicative_operators = true
196
- # ij_javascript_spaces_around_relational_operators = true
197
- # ij_javascript_spaces_around_shift_operators = true
198
- # ij_javascript_spaces_around_unary_operator = false
199
- # ij_javascript_spaces_within_array_initializer_brackets = false
200
- # ij_javascript_spaces_within_brackets = false
201
- # ij_javascript_spaces_within_catch_parentheses = false
202
- # ij_javascript_spaces_within_for_parentheses = false
203
- # ij_javascript_spaces_within_if_parentheses = false
204
- # ij_javascript_spaces_within_imports = true
205
- # ij_javascript_spaces_within_interpolation_expressions = false
206
- # ij_javascript_spaces_within_method_call_parentheses = false
207
- # ij_javascript_spaces_within_method_parentheses = false
208
- # ij_javascript_spaces_within_object_literal_braces = true
209
- # ij_javascript_spaces_within_object_type_braces = true
210
- # ij_javascript_spaces_within_parentheses = false
211
- # ij_javascript_spaces_within_switch_parentheses = false
212
- # ij_javascript_spaces_within_type_assertion = false
213
- # ij_javascript_spaces_within_union_types = true
214
- # ij_javascript_spaces_within_while_parentheses = false
215
- # ij_javascript_special_else_if_treatment = true
216
- # ij_javascript_ternary_operation_signs_on_next_line = true
217
- # ij_javascript_ternary_operation_wrap = off
218
- # ij_javascript_union_types_wrap = on_every_item
219
- # ij_javascript_use_chained_calls_group_indents = false
220
- # ij_javascript_use_double_quotes = false
221
- # ij_javascript_use_explicit_js_extension = global
222
- # ij_javascript_use_path_mapping = always
223
- # ij_javascript_use_public_modifier = false
224
- # ij_javascript_use_semicolon_after_statement = false
225
- # ij_javascript_var_declaration_wrap = normal
226
- # ij_javascript_while_brace_force = never
227
- # ij_javascript_while_on_new_line = false
228
- # ij_javascript_wrap_comments = false
229
37
 
230
38
  [{*.sht,*.html,*.shtm,*.shtml,*.htm}]
231
39
  ij_continuation_indent_size = 2
232
- # ij_html_add_new_line_before_tags = body,div,p,form,h1,h2,h3
233
- # ij_html_align_attributes = true
234
- # ij_html_align_text = false
235
- # ij_html_attribute_wrap = normal
236
- # ij_html_block_comment_at_first_column = true
237
- # ij_html_do_not_align_children_of_min_lines = 0
238
- # ij_html_do_not_break_if_inline_tags = title,h1,h2,h3,h4,h5,h6,p
239
- # ij_html_do_not_indent_children_of_tags = html,body,thead,tbody,tfoot,script,style
240
- # ij_html_enforce_quotes = false
241
- # ij_html_inline_tags = a,abbr,acronym,b,basefont,bdo,big,br,cite,cite,code,dfn,em,font,i,img,input,kbd,label,q,s,samp,select,small,span,strike,strong,sub,sup,textarea,tt,u,var
242
- # ij_html_keep_blank_lines = 2
243
- # ij_html_keep_indents_on_empty_lines = false
244
- # ij_html_keep_line_breaks = true
245
- # ij_html_keep_line_breaks_in_text = true
246
- # ij_html_keep_whitespaces = false
247
- # ij_html_keep_whitespaces_inside = span,pre,textarea
248
- # ij_html_line_comment_at_first_column = true
249
- # ij_html_new_line_after_last_attribute = never
250
- # ij_html_new_line_before_first_attribute = never
251
- # ij_html_quote_style = double
252
- # ij_html_remove_new_line_before_tags = br
253
- # ij_html_space_after_tag_name = false
254
- # ij_html_space_around_equality_in_attribute = false
255
- # ij_html_space_inside_empty_tag = true
256
- # ij_html_text_wrap = normal
257
40
 
258
41
  [{*.xslt,*.rng,*.ant,*.xsl,*.xsd,*.xul,*.jhm,*.xml,*.tld,*.fxml,*.wsdl,*.jrxml,*.jnlp}]
259
42
  tab_width = 2
260
- # ij_xml_block_comment_at_first_column = true
261
- # ij_xml_keep_indents_on_empty_lines = false
262
- # ij_xml_line_comment_at_first_column = true
263
43
 
264
44
  [{*.yml,*.yaml}]
265
- # ij_yaml_keep_indents_on_empty_lines = false
266
- # ij_yaml_keep_line_breaks = true
45
+ tab_width = 2
267
46
 
268
47
  [{.babelrc,.stylelintrc,.eslintrc,jest.config,.resultset.json.lock,bowerrc,*.json,*.jsb3,*.jsb2}]
269
48
  tab_width = 2
270
- # ij_json_keep_blank_lines_in_code = 0
271
- # ij_json_keep_indents_on_empty_lines = false
272
- # ij_json_keep_line_breaks = true
273
- # ij_json_space_after_colon = true
274
- # ij_json_space_after_comma = true
275
- # ij_json_space_before_colon = true
276
- # ij_json_space_before_comma = false
277
- # ij_json_spaces_within_braces = false
278
- # ij_json_spaces_within_brackets = false
279
- # ij_json_wrap_long_lines = false
280
49
 
281
50
  [{Podfile,Brewfile,cucumber,yarn,spork,Gemfile.tools,rake,.simplecov,rcov,rails,spec,capfile,gemfile,rakefile,guardfile,isolate,vagrantfile,*.gemspec,*.jbuilder,*.thor,*.rbw,*.ru,*.rb,*.rake}]
282
51
  ij_ruby_align_group_field_declarations = false