linted 21.0.0-rc.10 → 21.0.0-rc.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. package/dist/index.d.ts.map +1 -1
  2. package/dist/index.js +8 -2
  3. package/dist/index.js.map +1 -1
  4. package/dist/rules/index.d.ts +690 -0
  5. package/dist/rules/index.d.ts.map +1 -1
  6. package/dist/rules/js/enable.d.ts.map +1 -1
  7. package/dist/rules/js/enable.js +1 -2
  8. package/dist/rules/js/enable.js.map +1 -1
  9. package/dist/rules/js/index.d.ts.map +1 -1
  10. package/dist/rules/js/index.js +4 -1
  11. package/dist/rules/js/index.js.map +1 -1
  12. package/dist/rules/js/stylistic.d.ts.map +1 -1
  13. package/dist/rules/js/stylistic.js +1 -2
  14. package/dist/rules/js/stylistic.js.map +1 -1
  15. package/dist/rules/json/enable.d.ts +133 -2
  16. package/dist/rules/json/enable.d.ts.map +1 -1
  17. package/dist/rules/json/enable.js +170 -4
  18. package/dist/rules/json/enable.js.map +1 -1
  19. package/dist/rules/json/enable_x.d.ts +6 -0
  20. package/dist/rules/json/enable_x.d.ts.map +1 -0
  21. package/dist/rules/json/enable_x.js +9 -0
  22. package/dist/rules/json/enable_x.js.map +1 -0
  23. package/dist/rules/json/index.d.ts +345 -0
  24. package/dist/rules/json/index.d.ts.map +1 -1
  25. package/dist/rules/json/index.js +6 -2
  26. package/dist/rules/json/index.js.map +1 -1
  27. package/dist/rules/mocha/disable.d.ts.map +1 -1
  28. package/dist/rules/mocha/disable.js +1 -1
  29. package/dist/rules/mocha/disable.js.map +1 -1
  30. package/dist/rules/mocha/index.d.ts.map +1 -1
  31. package/dist/rules/mocha/index.js +4 -2
  32. package/dist/rules/mocha/index.js.map +1 -1
  33. package/dist/rules/svelte/disable.d.ts.map +1 -1
  34. package/dist/rules/svelte/disable.js +1 -1
  35. package/dist/rules/svelte/disable.js.map +1 -1
  36. package/dist/rules/svelte/enable.d.ts.map +1 -1
  37. package/dist/rules/svelte/enable.js +1 -2
  38. package/dist/rules/svelte/enable.js.map +1 -1
  39. package/dist/rules/svelte/enable_x.d.ts.map +1 -1
  40. package/dist/rules/svelte/enable_x.js +1 -2
  41. package/dist/rules/svelte/enable_x.js.map +1 -1
  42. package/dist/rules/ts/disable.d.ts.map +1 -1
  43. package/dist/rules/ts/disable.js +1 -1
  44. package/dist/rules/ts/disable.js.map +1 -1
  45. package/dist/rules/ts/disable_x.d.ts.map +1 -1
  46. package/dist/rules/ts/disable_x.js +1 -1
  47. package/dist/rules/ts/disable_x.js.map +1 -1
  48. package/dist/rules/ts/enable.d.ts.map +1 -1
  49. package/dist/rules/ts/enable.js +1 -2
  50. package/dist/rules/ts/enable.js.map +1 -1
  51. package/dist/rules/ts/enable_x.d.ts.map +1 -1
  52. package/dist/rules/ts/enable_x.js +1 -2
  53. package/dist/rules/ts/enable_x.js.map +1 -1
  54. package/dist/rules/yml/enable.d.ts.map +1 -1
  55. package/dist/rules/yml/enable.js +1 -2
  56. package/dist/rules/yml/enable.js.map +1 -1
  57. package/dist/rules/yml/enable_x.d.ts.map +1 -1
  58. package/dist/rules/yml/enable_x.js +1 -2
  59. package/dist/rules/yml/enable_x.js.map +1 -1
  60. package/dist/rules/yml/index.d.ts.map +1 -1
  61. package/dist/rules/yml/index.js +4 -1
  62. package/dist/rules/yml/index.js.map +1 -1
  63. package/package.json +1 -1
  64. package/src/index.ts +8 -2
  65. package/src/rules/html/enable.ts +1 -1
  66. package/src/rules/js/enable.ts +5 -6
  67. package/src/rules/js/index.ts +4 -1
  68. package/src/rules/js/stylistic.ts +5 -6
  69. package/src/rules/json/enable.ts +179 -6
  70. package/src/rules/json/enable_x.ts +14 -0
  71. package/src/rules/json/index.ts +6 -2
  72. package/src/rules/mocha/disable.ts +4 -1
  73. package/src/rules/mocha/index.ts +4 -2
  74. package/src/rules/svelte/disable.ts +4 -1
  75. package/src/rules/svelte/enable.ts +5 -6
  76. package/src/rules/svelte/enable_x.ts +7 -5
  77. package/src/rules/ts/disable.ts +4 -1
  78. package/src/rules/ts/disable_x.ts +4 -1
  79. package/src/rules/ts/enable.ts +7 -5
  80. package/src/rules/ts/enable_x.ts +7 -5
  81. package/src/rules/yml/enable.ts +8 -5
  82. package/src/rules/yml/enable_x.ts +7 -5
  83. package/src/rules/yml/index.ts +4 -1
  84. package/dist/rules/mocha/base.d.ts +0 -37
  85. package/dist/rules/mocha/base.d.ts.map +0 -1
  86. package/dist/rules/mocha/base.js +0 -7
  87. package/dist/rules/mocha/base.js.map +0 -1
  88. package/dist/rules/mochaJs/index.d.ts +0 -800
  89. package/dist/rules/mochaJs/index.d.ts.map +0 -1
  90. package/dist/rules/mochaJs/index.js +0 -7
  91. package/dist/rules/mochaJs/index.js.map +0 -1
  92. package/src/rules/mocha/base.ts +0 -7
  93. package/src/rules/mochaJs/index.ts +0 -7
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAM5C,MAAM,CAAC,OAAO,WACZ,QAAQ,GAAE,KAAK,CAAC,OAAO,CAAC,CAAC,UAAU,CAAM,EACzC,SAAS,GAAE,KAAK,CAAC,OAAO,CAAC,CAAC,WAAW,CAAM,mCAa5C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAM5C,MAAM,CAAC,OAAO,WACZ,QAAQ,GAAE,KAAK,CAAC,OAAO,CAAC,CAAC,UAAU,CAAM,EACzC,SAAS,GAAE,KAAK,CAAC,OAAO,CAAC,CAAC,WAAW,CAAM,mCAmB5C"}
package/dist/index.js CHANGED
@@ -7,8 +7,14 @@ export default function (includes = {}, overrides = {}) {
7
7
  return core({
8
8
  plugins: imports.plugins,
9
9
  parsers: imports.parsers,
10
- files: { files, includes },
11
- rules: { rules, overrides },
10
+ files: {
11
+ files,
12
+ includes,
13
+ },
14
+ rules: {
15
+ rules,
16
+ overrides,
17
+ },
12
18
  });
13
19
  }
14
20
  catch (e) {
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,MAAM,CAAC,OAAO,WACZ,WAAuC,EAAE,EACzC,YAAyC,EAAE;IAE3C,IAAI,CAAC;QACH,OAAO,IAAI,CACT;YACE,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,KAAK,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE;YAC1B,KAAK,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE;SAC5B,CACF,CAAC;IACJ,CAAC;IACD,OAAO,CAAC,EAAE,CAAC;QAAC,MAAM,IAAI,KAAK,CAAC,YAAY,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;IAAC,CAAC;AAC5D,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,MAAM,CAAC,OAAO,WACZ,WAAuC,EAAE,EACzC,YAAyC,EAAE;IAE3C,IAAI,CAAC;QACH,OAAO,IAAI,CACT;YACE,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,KAAK,EAAE;gBACL,KAAK;gBACL,QAAQ;aACT;YACD,KAAK,EAAE;gBACL,KAAK;gBACL,SAAS;aACV;SACF,CACF,CAAC;IACJ,CAAC;IACD,OAAO,CAAC,EAAE,CAAC;QAAC,MAAM,IAAI,KAAK,CAAC,YAAY,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;IAAC,CAAC;AAC5D,CAAC"}