@utoo/lint 0.0.4 → 0.0.5

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.
Files changed (3) hide show
  1. package/index.cjs +9 -0
  2. package/index.js +9 -0
  3. package/package.json +6 -6
package/index.cjs CHANGED
@@ -81,21 +81,27 @@ if (json === undefined) {
81
81
  process.stdout.write(json);
82
82
  `;
83
83
  const BUILTIN_RULE_IDS = [
84
+ "accessor-pairs",
84
85
  "array-callback-return",
85
86
  "block-scoped-var",
87
+ "capitalized-comments",
86
88
  "consistent-return",
87
89
  "constructor-super",
88
90
  "curly",
89
91
  "default-case",
90
92
  "default-case-last",
93
+ "default-param-last",
91
94
  "dot-notation",
92
95
  "eol-last",
93
96
  "eqeqeq",
94
97
  "for-direction",
98
+ "func-name-matching",
95
99
  "func-names",
96
100
  "getter-return",
101
+ "grouped-accessor-pairs",
97
102
  "guard-for-in",
98
103
  "linebreak-style",
104
+ "logical-assignment-operators",
99
105
  "new-cap",
100
106
  "new-parens",
101
107
  "no-alert",
@@ -107,6 +113,7 @@ const BUILTIN_RULE_IDS = [
107
113
  "no-caller",
108
114
  "no-case-declarations",
109
115
  "no-class-assign",
116
+ "no-confusing-arrow",
110
117
  "no-comma-operator",
111
118
  "no-compare-neg-zero",
112
119
  "no-cond-assign",
@@ -207,6 +214,8 @@ const BUILTIN_RULE_IDS = [
207
214
  "no-trailing-spaces",
208
215
  "no-undef",
209
216
  "no-undef-init",
217
+ "no-underscore-dangle",
218
+ "no-undefined",
210
219
  "no-unneeded-ternary",
211
220
  "no-unreachable",
212
221
  "no-unsafe-finally",
package/index.js CHANGED
@@ -84,21 +84,27 @@ if (json === undefined) {
84
84
  process.stdout.write(json);
85
85
  `;
86
86
  const BUILTIN_RULE_IDS = [
87
+ "accessor-pairs",
87
88
  "array-callback-return",
88
89
  "block-scoped-var",
90
+ "capitalized-comments",
89
91
  "consistent-return",
90
92
  "constructor-super",
91
93
  "curly",
92
94
  "default-case",
93
95
  "default-case-last",
96
+ "default-param-last",
94
97
  "dot-notation",
95
98
  "eol-last",
96
99
  "eqeqeq",
97
100
  "for-direction",
101
+ "func-name-matching",
98
102
  "func-names",
99
103
  "getter-return",
104
+ "grouped-accessor-pairs",
100
105
  "guard-for-in",
101
106
  "linebreak-style",
107
+ "logical-assignment-operators",
102
108
  "new-cap",
103
109
  "new-parens",
104
110
  "no-alert",
@@ -110,6 +116,7 @@ const BUILTIN_RULE_IDS = [
110
116
  "no-caller",
111
117
  "no-case-declarations",
112
118
  "no-class-assign",
119
+ "no-confusing-arrow",
113
120
  "no-comma-operator",
114
121
  "no-compare-neg-zero",
115
122
  "no-cond-assign",
@@ -210,6 +217,8 @@ const BUILTIN_RULE_IDS = [
210
217
  "no-trailing-spaces",
211
218
  "no-undef",
212
219
  "no-undef-init",
220
+ "no-underscore-dangle",
221
+ "no-undefined",
213
222
  "no-unneeded-ternary",
214
223
  "no-unreachable",
215
224
  "no-unsafe-finally",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@utoo/lint",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "Experimental JavaScript and TypeScript linter powered by Yuku",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -70,11 +70,11 @@
70
70
  "use-at-your-own-risk.js"
71
71
  ],
72
72
  "optionalDependencies": {
73
- "@utoo/lint-darwin-arm64": "0.0.4",
74
- "@utoo/lint-darwin-x64": "0.0.4",
75
- "@utoo/lint-linux-arm64": "0.0.4",
76
- "@utoo/lint-linux-x64": "0.0.4",
77
- "@utoo/lint-win32-x64": "0.0.4"
73
+ "@utoo/lint-darwin-arm64": "0.0.5",
74
+ "@utoo/lint-darwin-x64": "0.0.5",
75
+ "@utoo/lint-linux-arm64": "0.0.5",
76
+ "@utoo/lint-linux-x64": "0.0.5",
77
+ "@utoo/lint-win32-x64": "0.0.5"
78
78
  },
79
79
  "publishConfig": {
80
80
  "access": "public",