@haltcase/style 7.2.3 → 7.3.0-canary.2

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.
@@ -6,7 +6,7 @@ import babelParser from "@babel/eslint-parser";
6
6
  import eslint from "@eslint/js";
7
7
  import eslintPluginEslintComments from "@eslint-community/eslint-plugin-eslint-comments";
8
8
  import eslintConfigPrettier from "eslint-config-prettier";
9
- import eslintPluginImportX from "eslint-plugin-import-x";
9
+ import * as eslintPluginImportX from "eslint-plugin-import-x";
10
10
  import eslintRegexp from "eslint-plugin-regexp";
11
11
  import { config } from "typescript-eslint";
12
12
 
@@ -611,20 +611,18 @@ export const eslintUnicornConfig = config({
611
611
  "unicorn/prevent-abbreviations": [
612
612
  "error",
613
613
  {
614
- ignore: [
615
- // e.g., `next-env.d.ts` filename
616
- /.+-env\.d/
617
- ],
618
614
  replacements: {
619
615
  // revise default abbreviations for reserved words/keywords
620
616
  // (because I think the default hanging underscores look nasty)
621
617
  args: false,
618
+ env: false,
622
619
  fn: false,
623
620
  func: {
624
621
  fn: true,
625
622
  function: false
626
623
  },
627
624
  mod: false,
625
+ params: false,
628
626
  pkg: false,
629
627
 
630
628
  // allow commonly used abbreviations in React projects
@@ -1,6 +1,6 @@
1
1
  import eslintPluginReact from "@eslint-react/eslint-plugin";
2
2
  import eslintStylisticJsx from "@stylistic/eslint-plugin-jsx";
3
- import eslintPluginImportX from "eslint-plugin-import-x";
3
+ import * as eslintPluginImportX from "eslint-plugin-import-x";
4
4
  import eslintPluginJsxA11y from "eslint-plugin-jsx-a11y";
5
5
  import eslintPluginReactOriginal from "eslint-plugin-react";
6
6
  // eslint-disable-next-line import-x/default
@@ -1,5 +1,5 @@
1
1
  import eslintConfigPrettier from "eslint-config-prettier";
2
- import eslintPluginImportX from "eslint-plugin-import-x";
2
+ import * as eslintPluginImportX from "eslint-plugin-import-x";
3
3
  import { config, configs, parser, plugin } from "typescript-eslint";
4
4
 
5
5
  import { typescriptFiles, typescriptJsxFiles } from "../constants.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haltcase/style",
3
- "version": "7.2.3",
3
+ "version": "7.3.0-canary.2",
4
4
  "description": "haltcase's web ecosystem style guide & configurations",
5
5
  "keywords": [
6
6
  "eslint",