immosquare-cleaner 0.1.9 → 0.1.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/lib/immosquare-cleaner/markdown.rb +102 -0
  3. data/lib/immosquare-cleaner/version.rb +1 -1
  4. data/lib/immosquare-cleaner.rb +15 -2
  5. data/linters/eslintrc.json +54 -27
  6. data/package.json +7 -8
  7. metadata +31 -69
  8. data/node_modules/eslint-plugin-jsonc/LICENSE +0 -21
  9. data/node_modules/eslint-plugin-jsonc/README.md +0 -279
  10. data/node_modules/eslint-plugin-jsonc/conf/eslint-all.js +0 -11
  11. data/node_modules/eslint-plugin-jsonc/conf/eslint-recommended.js +0 -13
  12. data/node_modules/eslint-plugin-jsonc/conf/rules.js +0 -10
  13. data/node_modules/eslint-plugin-jsonc/dist/configs/all.js +0 -18
  14. data/node_modules/eslint-plugin-jsonc/dist/configs/auto-config.js +0 -13
  15. data/node_modules/eslint-plugin-jsonc/dist/configs/base.js +0 -15
  16. data/node_modules/eslint-plugin-jsonc/dist/configs/prettier.js +0 -26
  17. data/node_modules/eslint-plugin-jsonc/dist/configs/recommended-with-json.js +0 -41
  18. data/node_modules/eslint-plugin-jsonc/dist/configs/recommended-with-json5.js +0 -30
  19. data/node_modules/eslint-plugin-jsonc/dist/configs/recommended-with-jsonc.js +0 -39
  20. data/node_modules/eslint-plugin-jsonc/dist/index.js +0 -68
  21. data/node_modules/eslint-plugin-jsonc/dist/meta.js +0 -5
  22. data/node_modules/eslint-plugin-jsonc/dist/rules/array-bracket-newline.js +0 -23
  23. data/node_modules/eslint-plugin-jsonc/dist/rules/array-bracket-spacing.js +0 -23
  24. data/node_modules/eslint-plugin-jsonc/dist/rules/array-element-newline.js +0 -23
  25. data/node_modules/eslint-plugin-jsonc/dist/rules/auto.js +0 -66
  26. data/node_modules/eslint-plugin-jsonc/dist/rules/comma-dangle.js +0 -27
  27. data/node_modules/eslint-plugin-jsonc/dist/rules/comma-style.js +0 -23
  28. data/node_modules/eslint-plugin-jsonc/dist/rules/indent.js +0 -23
  29. data/node_modules/eslint-plugin-jsonc/dist/rules/key-name-casing.js +0 -94
  30. data/node_modules/eslint-plugin-jsonc/dist/rules/key-spacing.js +0 -23
  31. data/node_modules/eslint-plugin-jsonc/dist/rules/no-bigint-literals.js +0 -33
  32. data/node_modules/eslint-plugin-jsonc/dist/rules/no-binary-expression.js +0 -38
  33. data/node_modules/eslint-plugin-jsonc/dist/rules/no-binary-numeric-literals.js +0 -39
  34. data/node_modules/eslint-plugin-jsonc/dist/rules/no-comments.js +0 -34
  35. data/node_modules/eslint-plugin-jsonc/dist/rules/no-dupe-keys.js +0 -23
  36. data/node_modules/eslint-plugin-jsonc/dist/rules/no-escape-sequence-in-identifier.js +0 -57
  37. data/node_modules/eslint-plugin-jsonc/dist/rules/no-floating-decimal.js +0 -23
  38. data/node_modules/eslint-plugin-jsonc/dist/rules/no-hexadecimal-numeric-literals.js +0 -39
  39. data/node_modules/eslint-plugin-jsonc/dist/rules/no-infinity.js +0 -37
  40. data/node_modules/eslint-plugin-jsonc/dist/rules/no-irregular-whitespace.js +0 -23
  41. data/node_modules/eslint-plugin-jsonc/dist/rules/no-multi-str.js +0 -23
  42. data/node_modules/eslint-plugin-jsonc/dist/rules/no-nan.js +0 -37
  43. data/node_modules/eslint-plugin-jsonc/dist/rules/no-number-props.js +0 -41
  44. data/node_modules/eslint-plugin-jsonc/dist/rules/no-numeric-separators.js +0 -42
  45. data/node_modules/eslint-plugin-jsonc/dist/rules/no-octal-escape.js +0 -23
  46. data/node_modules/eslint-plugin-jsonc/dist/rules/no-octal-numeric-literals.js +0 -39
  47. data/node_modules/eslint-plugin-jsonc/dist/rules/no-octal.js +0 -23
  48. data/node_modules/eslint-plugin-jsonc/dist/rules/no-parenthesized.js +0 -70
  49. data/node_modules/eslint-plugin-jsonc/dist/rules/no-plus-sign.js +0 -39
  50. data/node_modules/eslint-plugin-jsonc/dist/rules/no-regexp-literals.js +0 -33
  51. data/node_modules/eslint-plugin-jsonc/dist/rules/no-sparse-arrays.js +0 -23
  52. data/node_modules/eslint-plugin-jsonc/dist/rules/no-template-literals.js +0 -36
  53. data/node_modules/eslint-plugin-jsonc/dist/rules/no-undefined-value.js +0 -35
  54. data/node_modules/eslint-plugin-jsonc/dist/rules/no-unicode-codepoint-escapes.js +0 -73
  55. data/node_modules/eslint-plugin-jsonc/dist/rules/no-useless-escape.js +0 -23
  56. data/node_modules/eslint-plugin-jsonc/dist/rules/object-curly-newline.js +0 -23
  57. data/node_modules/eslint-plugin-jsonc/dist/rules/object-curly-spacing.js +0 -23
  58. data/node_modules/eslint-plugin-jsonc/dist/rules/object-property-newline.js +0 -23
  59. data/node_modules/eslint-plugin-jsonc/dist/rules/quote-props.js +0 -27
  60. data/node_modules/eslint-plugin-jsonc/dist/rules/quotes.js +0 -27
  61. data/node_modules/eslint-plugin-jsonc/dist/rules/sort-array-values.js +0 -371
  62. data/node_modules/eslint-plugin-jsonc/dist/rules/sort-keys.js +0 -413
  63. data/node_modules/eslint-plugin-jsonc/dist/rules/space-unary-ops.js +0 -23
  64. data/node_modules/eslint-plugin-jsonc/dist/rules/valid-json-number.js +0 -138
  65. data/node_modules/eslint-plugin-jsonc/dist/rules/vue-custom-block/no-parsing-error.js +0 -86
  66. data/node_modules/eslint-plugin-jsonc/dist/types.js +0 -2
  67. data/node_modules/eslint-plugin-jsonc/dist/utils/casing.js +0 -134
  68. data/node_modules/eslint-plugin-jsonc/dist/utils/get-auto-jsonc-rules-config.js +0 -97
  69. data/node_modules/eslint-plugin-jsonc/dist/utils/index.js +0 -121
  70. data/node_modules/eslint-plugin-jsonc/dist/utils/rules.js +0 -96
  71. data/node_modules/eslint-plugin-jsonc/index.d.ts +0 -364
  72. data/node_modules/eslint-plugin-jsonc/package.json +0 -123
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 98bc0c5d08586d949016612f1b71710b03b39a61bdcc58cdb2f8b50f50ef7267
4
- data.tar.gz: a79fa8ac332aae164826244e4f9c29cb87fcf7805139ae86935e95826630e2bd
3
+ metadata.gz: ab3996336fc3c838878d792d3a32f07f39bb28c403851d5e6e14997ee210df90
4
+ data.tar.gz: cbe3806e171f5aa52f2dac90ab0959e297dcb81b0e78699eee61f4dd49a5e8f1
5
5
  SHA512:
6
- metadata.gz: 05b155d7be55971a077c178fd654b8b873ce99679ae84752a24943b928601ef2c2418fb7009f71717f070438f4fe82d292410a93c57be4a31cc4946e7357965d
7
- data.tar.gz: eced9939a2eac63dd18dfd7fbce06bf641459bd78f984055de86d79a410445fb31f7d8fb001d72b89be84208fd9b410f912c342282a3b648cc1a67b75d1feac8
6
+ metadata.gz: b3de83f33a8c826458e50c7b9801687d5a6c14dca1c52126bc63d38bfb7a8f900086506b3304e5cc17df582ebf8c335a7da4c816bb2a6df89fd8742734bd18ea
7
+ data.tar.gz: '039ec5621025a918e3c2a75ff7e0a7466c322548e8c92574ee735a4e4b4671b42f4e57c4c01290a992de2186b3e61fb47f1c5d4c681b051c6e25e7a39b7ea0dd'
@@ -0,0 +1,102 @@
1
+ module ImmosquareCleaner
2
+ module Markdown
3
+ class << self
4
+
5
+
6
+ ##============================================================##
7
+ ## we want to clean the markdown files to have a uniform style
8
+ ## for the tables.
9
+ ##============================================================##
10
+ def clean(file_path)
11
+ results = []
12
+ array_to_parse = []
13
+ prev_line_special = false
14
+
15
+ ##============================================================##
16
+ ## We parse each line of the file
17
+ ##============================================================##
18
+ File.foreach(file_path) do |line|
19
+ if line.lstrip.start_with?("|")
20
+ array_to_parse << line
21
+ else
22
+ if !array_to_parse.empty?
23
+ results << cleaned_array(array_to_parse)
24
+ array_to_parse = []
25
+ end
26
+ new_line, prev_line_special = cleaned_line(line, prev_line_special)
27
+ results << new_line
28
+ end
29
+ end
30
+
31
+ ##============================================================##
32
+ ## Handle the case where the file ends with a table
33
+ ##============================================================##
34
+ results << cleaned_array(array_to_parse) if !array_to_parse.empty?
35
+
36
+ results.join
37
+ end
38
+
39
+
40
+ private
41
+
42
+ def cleaned_array(array_to_clean)
43
+ ##============================================================##
44
+ ## We split each line of the array and remove the empty cells
45
+ ## we also save the max lenght of each position in x.
46
+ ##============================================================##
47
+ elements_size = []
48
+ rows = array_to_clean.map do |line|
49
+ cells = line.split("|").map(&:strip).reject(&:empty?)
50
+
51
+ ##============================================================##
52
+ ## We increase the size of the array if needed
53
+ ##============================================================##
54
+ elements_size += Array.new(cells.length - elements_size.size, 0) if cells.length > elements_size.length
55
+
56
+ ##============================================================##
57
+ ## We update the max length of each position in x
58
+ ##============================================================##
59
+ cells.map(&:length).zip(elements_size).each_with_index do |(cell_length, max_length), index|
60
+ elements_size[index] = [cell_length, max_length].max
61
+ end
62
+
63
+ cells
64
+ end
65
+
66
+ ##============================================================##
67
+ ## We fill the empty cells with nil to have uniform rows
68
+ ##============================================================##
69
+ rows.each {|row| row.fill(nil, row.length...elements_size.size) }
70
+
71
+
72
+ formatted_rows = rows.map do |row|
73
+ line = row.each_with_index.map do |cell, index|
74
+ max_length = elements_size[index]
75
+ cell =
76
+ if cell&.match(/^-*$/)
77
+ "-" * max_length
78
+ else
79
+ cell.to_s.ljust(max_length)
80
+ end
81
+ end.join(" | ")
82
+ "| #{line} |"
83
+ end
84
+
85
+ "#{formatted_rows.join("\n")}\n"
86
+ end
87
+
88
+ ##============================================================##
89
+ ## We simply add a newline at the end of the line if needed
90
+ ##============================================================##
91
+ def cleaned_line(line, prev_line_special)
92
+ cleaned = line.rstrip
93
+ blank_line = line.gsub("\n", "").empty?
94
+ special = cleaned.lstrip.start_with?("*", "-", "+")
95
+ new_line = "#{"\n" if prev_line_special && !blank_line}#{cleaned}\n"
96
+ prev_line_special = special
97
+ [new_line, prev_line_special]
98
+ end
99
+
100
+ end
101
+ end
102
+ end
@@ -1,3 +1,3 @@
1
1
  module ImmosquareCleaner
2
- VERSION = "0.1.9".freeze
2
+ VERSION = "0.1.11".freeze
3
3
  end
@@ -1,6 +1,8 @@
1
1
  require "English"
2
- require "neatjson"
2
+ require "immosquare-yaml"
3
+ require "immosquare-extensions"
3
4
  require_relative "immosquare-cleaner/configuration"
5
+ require_relative "immosquare-cleaner/markdown"
4
6
  require_relative "immosquare-cleaner/railtie" if defined?(Rails)
5
7
 
6
8
  ##===========================================================================##
@@ -84,12 +86,23 @@ module ImmosquareCleaner
84
86
  if file_path.end_with?(".json")
85
87
  json_str = File.read(file_path)
86
88
  parsed_data = JSON.parse(json_str)
87
- formated = JSON.neat_generate(parsed_data, :aligned => true)
89
+ formated = parsed_data.to_beautiful_json
88
90
  File.write(file_path, formated)
89
91
  normalize_last_line(file_path)
90
92
  return
91
93
  end
92
94
 
95
+ ##============================================================##
96
+ ## Markdown files
97
+ ##============================================================##
98
+ if file_path.end_with?(".md", ".md.erb")
99
+ formatted_md = ImmosquareCleaner::Markdown.clean(file_path)
100
+ File.write(file_path, formatted_md)
101
+ normalize_last_line(file_path)
102
+ return
103
+ end
104
+
105
+
93
106
  ##============================================================##
94
107
  ## Autres formats
95
108
  ##============================================================##
@@ -1,30 +1,57 @@
1
1
  {
2
- "env" :{"browser":true,"es2021":true},
3
- "ignorePatterns":["package.json"],
4
- "extends" :["airbnb-base","plugin:jsonc/recommended-with-jsonc"],
5
- "overrides" :[],
6
- "parserOptions" :{"ecmaVersion":"latest","sourceType":"module"},
7
- "rules" :{
8
- "quotes" :[2,"double"],
9
- "semi" :[2,"never"],
10
- "camelcase" :0,
11
- "no-console" :0,
12
- "no-restricted-globals" :0,
13
- "no-multi-spaces" :0,
14
- "no-undef" :0,
15
- "radix" :0,
16
- "key-spacing" :[2,{"align":"value"}],
17
- "max-len" :0,
18
- "no-unused-expressions" :0,
19
- "padded-blocks" :0,
20
- "no-multiple-empty-lines":0,
21
- "default-case" :0,
22
- "no-alert" :0,
23
- "no-lonely-if" :0,
24
- "no-nested-ternary" :0,
25
- "no-param-reassign" :["error",{"props":false}],
26
- "comma-dangle" :["error","never"],
27
- "jsonc/auto" :2,
28
- "jsonc/indent" :["error",2,{}]
2
+ "env": {
3
+ "browser": true,
4
+ "es2021": true
5
+ },
6
+ "ignorePatterns": [
7
+ "package.json"
8
+ ],
9
+ "extends": [
10
+ "airbnb-base"
11
+ ],
12
+ "overrides": [],
13
+ "parserOptions": {
14
+ "ecmaVersion": "latest",
15
+ "sourceType": "module"
16
+ },
17
+ "rules": {
18
+ "quotes": [
19
+ 2,
20
+ "double"
21
+ ],
22
+ "semi": [
23
+ 2,
24
+ "never"
25
+ ],
26
+ "camelcase": 0,
27
+ "no-console": 0,
28
+ "no-restricted-globals": 0,
29
+ "no-multi-spaces": 0,
30
+ "no-undef": 0,
31
+ "radix": 0,
32
+ "key-spacing": [
33
+ 2,
34
+ {
35
+ "align": "value"
36
+ }
37
+ ],
38
+ "max-len": 0,
39
+ "no-unused-expressions": 0,
40
+ "padded-blocks": 0,
41
+ "no-multiple-empty-lines": 0,
42
+ "default-case": 0,
43
+ "no-alert": 0,
44
+ "no-lonely-if": 0,
45
+ "no-nested-ternary": 0,
46
+ "no-param-reassign": [
47
+ "error",
48
+ {
49
+ "props": false
50
+ }
51
+ ],
52
+ "comma-dangle": [
53
+ "error",
54
+ "never"
55
+ ]
29
56
  }
30
57
  }
data/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
- "name" :"immosquare-cleaner",
3
- "private" :true,
4
- "dependencies":{
5
- "eslint" :"^8.50.0",
6
- "prettier" :"^3.0.3",
7
- "eslint-config-airbnb-base":"^15.0.0",
8
- "eslint-plugin-import" :"^2.28.1",
9
- "eslint-plugin-jsonc" :"^2.9.0"
2
+ "name": "immosquare-cleaner",
3
+ "private": true,
4
+ "dependencies": {
5
+ "eslint": "^8.50.0",
6
+ "eslint-config-airbnb-base": "^15.0.0",
7
+ "eslint-plugin-import": "^2.28.1",
8
+ "prettier": "^3.0.3"
10
9
  }
11
10
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: immosquare-cleaner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - IMMO SQUARE
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-29 00:00:00.000000000 Z
11
+ date: 2023-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: erb_lint
@@ -39,12 +39,15 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1'
41
41
  - !ruby/object:Gem::Dependency
42
- name: immosquare-yaml
42
+ name: immosquare-extensions
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: 0.1.5
48
51
  type: :runtime
49
52
  prerelease: false
50
53
  version_requirements: !ruby/object:Gem::Requirement
@@ -52,13 +55,19 @@ dependencies:
52
55
  - - "~>"
53
56
  - !ruby/object:Gem::Version
54
57
  version: '0'
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: 0.1.5
55
61
  - !ruby/object:Gem::Dependency
56
- name: neatjson
62
+ name: immosquare-yaml
57
63
  requirement: !ruby/object:Gem::Requirement
58
64
  requirements:
59
65
  - - "~>"
60
66
  - !ruby/object:Gem::Version
61
67
  version: '0'
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: 0.1.16
62
71
  type: :runtime
63
72
  prerelease: false
64
73
  version_requirements: !ruby/object:Gem::Requirement
@@ -66,6 +75,23 @@ dependencies:
66
75
  - - "~>"
67
76
  - !ruby/object:Gem::Version
68
77
  version: '0'
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: 0.1.16
81
+ - !ruby/object:Gem::Dependency
82
+ name: rubocop
83
+ requirement: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - "~>"
86
+ - !ruby/object:Gem::Version
87
+ version: '1'
88
+ type: :runtime
89
+ prerelease: false
90
+ version_requirements: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - "~>"
93
+ - !ruby/object:Gem::Version
94
+ version: '1'
69
95
  description: Immosquare-cleaner streamlines Rails applications by running tools like
70
96
  RuboCop, ERBLint, Stylelint and more. It ensures code quality, readability, and
71
97
  consistency across the application.
@@ -79,6 +105,7 @@ files:
79
105
  - bin/immosquare-cleaner
80
106
  - lib/immosquare-cleaner.rb
81
107
  - lib/immosquare-cleaner/configuration.rb
108
+ - lib/immosquare-cleaner/markdown.rb
82
109
  - lib/immosquare-cleaner/railtie.rb
83
110
  - lib/immosquare-cleaner/version.rb
84
111
  - lib/tasks/immosquare_cleaner.rake
@@ -2602,71 +2629,6 @@ files:
2602
2629
  - node_modules/eslint-plugin-import/node_modules/doctrine/lib/utility.js
2603
2630
  - node_modules/eslint-plugin-import/node_modules/doctrine/package.json
2604
2631
  - node_modules/eslint-plugin-import/package.json
2605
- - node_modules/eslint-plugin-jsonc/LICENSE
2606
- - node_modules/eslint-plugin-jsonc/README.md
2607
- - node_modules/eslint-plugin-jsonc/conf/eslint-all.js
2608
- - node_modules/eslint-plugin-jsonc/conf/eslint-recommended.js
2609
- - node_modules/eslint-plugin-jsonc/conf/rules.js
2610
- - node_modules/eslint-plugin-jsonc/dist/configs/all.js
2611
- - node_modules/eslint-plugin-jsonc/dist/configs/auto-config.js
2612
- - node_modules/eslint-plugin-jsonc/dist/configs/base.js
2613
- - node_modules/eslint-plugin-jsonc/dist/configs/prettier.js
2614
- - node_modules/eslint-plugin-jsonc/dist/configs/recommended-with-json.js
2615
- - node_modules/eslint-plugin-jsonc/dist/configs/recommended-with-json5.js
2616
- - node_modules/eslint-plugin-jsonc/dist/configs/recommended-with-jsonc.js
2617
- - node_modules/eslint-plugin-jsonc/dist/index.js
2618
- - node_modules/eslint-plugin-jsonc/dist/meta.js
2619
- - node_modules/eslint-plugin-jsonc/dist/rules/array-bracket-newline.js
2620
- - node_modules/eslint-plugin-jsonc/dist/rules/array-bracket-spacing.js
2621
- - node_modules/eslint-plugin-jsonc/dist/rules/array-element-newline.js
2622
- - node_modules/eslint-plugin-jsonc/dist/rules/auto.js
2623
- - node_modules/eslint-plugin-jsonc/dist/rules/comma-dangle.js
2624
- - node_modules/eslint-plugin-jsonc/dist/rules/comma-style.js
2625
- - node_modules/eslint-plugin-jsonc/dist/rules/indent.js
2626
- - node_modules/eslint-plugin-jsonc/dist/rules/key-name-casing.js
2627
- - node_modules/eslint-plugin-jsonc/dist/rules/key-spacing.js
2628
- - node_modules/eslint-plugin-jsonc/dist/rules/no-bigint-literals.js
2629
- - node_modules/eslint-plugin-jsonc/dist/rules/no-binary-expression.js
2630
- - node_modules/eslint-plugin-jsonc/dist/rules/no-binary-numeric-literals.js
2631
- - node_modules/eslint-plugin-jsonc/dist/rules/no-comments.js
2632
- - node_modules/eslint-plugin-jsonc/dist/rules/no-dupe-keys.js
2633
- - node_modules/eslint-plugin-jsonc/dist/rules/no-escape-sequence-in-identifier.js
2634
- - node_modules/eslint-plugin-jsonc/dist/rules/no-floating-decimal.js
2635
- - node_modules/eslint-plugin-jsonc/dist/rules/no-hexadecimal-numeric-literals.js
2636
- - node_modules/eslint-plugin-jsonc/dist/rules/no-infinity.js
2637
- - node_modules/eslint-plugin-jsonc/dist/rules/no-irregular-whitespace.js
2638
- - node_modules/eslint-plugin-jsonc/dist/rules/no-multi-str.js
2639
- - node_modules/eslint-plugin-jsonc/dist/rules/no-nan.js
2640
- - node_modules/eslint-plugin-jsonc/dist/rules/no-number-props.js
2641
- - node_modules/eslint-plugin-jsonc/dist/rules/no-numeric-separators.js
2642
- - node_modules/eslint-plugin-jsonc/dist/rules/no-octal-escape.js
2643
- - node_modules/eslint-plugin-jsonc/dist/rules/no-octal-numeric-literals.js
2644
- - node_modules/eslint-plugin-jsonc/dist/rules/no-octal.js
2645
- - node_modules/eslint-plugin-jsonc/dist/rules/no-parenthesized.js
2646
- - node_modules/eslint-plugin-jsonc/dist/rules/no-plus-sign.js
2647
- - node_modules/eslint-plugin-jsonc/dist/rules/no-regexp-literals.js
2648
- - node_modules/eslint-plugin-jsonc/dist/rules/no-sparse-arrays.js
2649
- - node_modules/eslint-plugin-jsonc/dist/rules/no-template-literals.js
2650
- - node_modules/eslint-plugin-jsonc/dist/rules/no-undefined-value.js
2651
- - node_modules/eslint-plugin-jsonc/dist/rules/no-unicode-codepoint-escapes.js
2652
- - node_modules/eslint-plugin-jsonc/dist/rules/no-useless-escape.js
2653
- - node_modules/eslint-plugin-jsonc/dist/rules/object-curly-newline.js
2654
- - node_modules/eslint-plugin-jsonc/dist/rules/object-curly-spacing.js
2655
- - node_modules/eslint-plugin-jsonc/dist/rules/object-property-newline.js
2656
- - node_modules/eslint-plugin-jsonc/dist/rules/quote-props.js
2657
- - node_modules/eslint-plugin-jsonc/dist/rules/quotes.js
2658
- - node_modules/eslint-plugin-jsonc/dist/rules/sort-array-values.js
2659
- - node_modules/eslint-plugin-jsonc/dist/rules/sort-keys.js
2660
- - node_modules/eslint-plugin-jsonc/dist/rules/space-unary-ops.js
2661
- - node_modules/eslint-plugin-jsonc/dist/rules/valid-json-number.js
2662
- - node_modules/eslint-plugin-jsonc/dist/rules/vue-custom-block/no-parsing-error.js
2663
- - node_modules/eslint-plugin-jsonc/dist/types.js
2664
- - node_modules/eslint-plugin-jsonc/dist/utils/casing.js
2665
- - node_modules/eslint-plugin-jsonc/dist/utils/get-auto-jsonc-rules-config.js
2666
- - node_modules/eslint-plugin-jsonc/dist/utils/index.js
2667
- - node_modules/eslint-plugin-jsonc/dist/utils/rules.js
2668
- - node_modules/eslint-plugin-jsonc/index.d.ts
2669
- - node_modules/eslint-plugin-jsonc/package.json
2670
2632
  - node_modules/eslint-scope/LICENSE
2671
2633
  - node_modules/eslint-scope/README.md
2672
2634
  - node_modules/eslint-scope/dist/eslint-scope.cjs
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2020 Yosuke Ota
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.