@form8ion/javascript 11.10.3 → 11.10.4

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.
package/lib/index.js CHANGED
@@ -27,7 +27,7 @@ var filedirname = require('filedirname');
27
27
  var huskyPlugin = require('@form8ion/husky');
28
28
  var ini = require('ini');
29
29
  var prettier = require('@form8ion/prettier');
30
- var eslint = require('@form8ion/eslint');
30
+ var eslintPlugin = require('@form8ion/eslint');
31
31
  var node_fs = require('node:fs');
32
32
  var sortProperties = require('sort-object-keys');
33
33
 
@@ -63,6 +63,7 @@ var touch__default = /*#__PURE__*/_interopDefaultLegacy(touch);
63
63
  var camelcase__default = /*#__PURE__*/_interopDefaultLegacy(camelcase);
64
64
  var filedirname__default = /*#__PURE__*/_interopDefaultLegacy(filedirname);
65
65
  var huskyPlugin__namespace = /*#__PURE__*/_interopNamespace(huskyPlugin);
66
+ var eslintPlugin__namespace = /*#__PURE__*/_interopNamespace(eslintPlugin);
66
67
  var sortProperties__default = /*#__PURE__*/_interopDefaultLegacy(sortProperties);
67
68
 
68
69
  const questionNames$1 = {
@@ -239,7 +240,7 @@ async function scaffoldCodeStyle ({
239
240
  return deepmerge__default["default"].all(await Promise.all([
240
241
  configs.eslint
241
242
  && configureLinting
242
- && eslint.scaffold({projectRoot, config: configs.eslint}),
243
+ && eslintPlugin.scaffold({projectRoot, config: configs.eslint}),
243
244
  scaffoldRemark({
244
245
  projectRoot,
245
246
  projectType,
@@ -251,11 +252,11 @@ async function scaffoldCodeStyle ({
251
252
  }
252
253
 
253
254
  function lifter$3 (options) {
254
- return eslint.lift(options);
255
+ return core.applyEnhancers({options, enhancers: [eslintPlugin__namespace]});
255
256
  }
256
257
 
257
258
  function tester$3 (options) {
258
- return eslint.test(options);
259
+ return eslintPlugin.test(options);
259
260
  }
260
261
 
261
262
  var codeStylePlugin = /*#__PURE__*/Object.freeze({