@anolilab/eslint-config 14.0.18 → 14.0.20

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/CHANGELOG.md CHANGED
@@ -1,3 +1,23 @@
1
+ ## @anolilab/eslint-config [14.0.20](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/eslint-config@14.0.19...@anolilab/eslint-config@14.0.20) (2023-10-09)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * disabled perfectionist/sort-named-exports because of simple-import-sort/exports ([3baac79](https://github.com/anolilab/javascript-style-guide/commit/3baac79be4235781e1fad9846905f433cc07e26c))
7
+
8
+
9
+ ### Miscellaneous Chores
10
+
11
+ * **deps:** update dependency type-fest to ^4.4.0 ([#771](https://github.com/anolilab/javascript-style-guide/issues/771)) ([8046ba7](https://github.com/anolilab/javascript-style-guide/commit/8046ba7c65f96342fbf46e3ee08bcdfa20c08af1))
12
+ * **deps:** update eslint ([#774](https://github.com/anolilab/javascript-style-guide/issues/774)) ([bd623fc](https://github.com/anolilab/javascript-style-guide/commit/bd623fcf500f0d8cae31a4e7d2ae90b2e5149b5b))
13
+
14
+ ## @anolilab/eslint-config [14.0.19](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/eslint-config@14.0.18...@anolilab/eslint-config@14.0.19) (2023-10-05)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * update dependencies ([aeb10b6](https://github.com/anolilab/javascript-style-guide/commit/aeb10b68a025e325387bc9f3138ab5ab26d72480))
20
+
1
21
  ## @anolilab/eslint-config [14.0.18](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/eslint-config@14.0.17...@anolilab/eslint-config@14.0.18) (2023-10-04)
2
22
 
3
23
 
@@ -7,7 +7,7 @@ var packageJsonUtils = require('@anolilab/package-json-utils');
7
7
 
8
8
  !global.hasAnolilabEsLintConfigPerfectionistTypescriptSortKeys&&(packageJsonUtils.hasDependency("eslint-plugin-typescript-sort-keys")||packageJsonUtils.hasDevDependency("eslint-plugin-typescript-sort-keys"))&&(global.hasAnolilabEsLintConfigPerfectionistTypescriptSortKeys=!0,chunkSEYYGHPU_js.b(`
9
9
  Please remove "eslint-plugin-typescript-sort-keys" from your package.json, it conflicts with "eslint-plugin-perfectionist".
10
- `));var s=chunkWG6GTAIA_js.b([{config:{extends:["plugin:perfectionist/recommended-natural"],plugins:["perfectionist"],rules:{"perfectionist/sort-imports":"off","perfectionist/sort-union-types":"off","perfectionist/sort-named-imports":"off"}},type:"all"},{config:{rules:{"perfectionist/sort-objects":"off"}},type:"postcss"}]),f=s;
10
+ `));var s=chunkWG6GTAIA_js.b([{config:{extends:["plugin:perfectionist/recommended-natural"],plugins:["perfectionist"],rules:{"perfectionist/sort-imports":"off","perfectionist/sort-union-types":"off","perfectionist/sort-named-imports":"off","perfectionist/sort-named-exports":"off"}},type:"all"},{config:{rules:{"perfectionist/sort-objects":"off"}},type:"postcss"}]),f=s;
11
11
 
12
12
  module.exports = f;
13
13
  //# sourceMappingURL=out.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/perfectionist.ts"],"names":["hasDependency","hasDevDependency","consoleLog","config","createConfigs","perfectionist_default"],"mappings":"wHAAA,OAAS,iBAAAA,EAAe,oBAAAC,MAAwB,+BAO5C,CAAC,OAAO,yDACPD,EAAc,oCAAoC,GAAKC,EAAiB,oCAAoC,KAE7G,OAAO,uDAAyD,GAEhEC,EAAW;AAAA;AAAA,CAAiI,GAIhJ,IAAMC,EAAwBC,EAAc,CACxC,CACI,OAAQ,CACJ,QAAS,CAAC,0CAA0C,EACpD,QAAS,CAAC,eAAe,EACzB,MAAO,CAEH,6BAA8B,MAE9B,iCAAkC,MAGlC,mCAAoC,KACxC,CACJ,EACA,KAAM,KACV,EACA,CACI,OAAQ,CACJ,MAAO,CACH,6BAA8B,KAClC,CACJ,EACA,KAAM,SACV,CACJ,CAAC,EAEMC,EAAQF","sourcesContent":["import { hasDependency, hasDevDependency } from \"@anolilab/package-json-utils\";\nimport type { Linter } from \"eslint\";\n\nimport { createConfigs } from \"../../utils/create-config\";\nimport { consoleLog } from \"../../utils/loggers\";\n\nif (\n !global.hasAnolilabEsLintConfigPerfectionistTypescriptSortKeys &&\n (hasDependency(\"eslint-plugin-typescript-sort-keys\") || hasDevDependency(\"eslint-plugin-typescript-sort-keys\"))\n) {\n global.hasAnolilabEsLintConfigPerfectionistTypescriptSortKeys = true;\n\n consoleLog('\\nPlease remove \"eslint-plugin-typescript-sort-keys\" from your package.json, it conflicts with \"eslint-plugin-perfectionist\".\\n');\n}\n\n// @see https://github.com/azat-io/eslint-plugin-perfectionist\nconst config: Linter.Config = createConfigs([\n {\n config: {\n extends: [\"plugin:perfectionist/recommended-natural\"],\n plugins: [\"perfectionist\"],\n rules: {\n // Disabled because of sort-imports\n \"perfectionist/sort-imports\": \"off\",\n // Disabled because of @typescript-eslint/sort-type-constituents\n \"perfectionist/sort-union-types\": \"off\",\n\n // Disabled because of simple-import-sort/imports\n \"perfectionist/sort-named-imports\": \"off\",\n },\n },\n type: \"all\",\n },\n {\n config: {\n rules: {\n \"perfectionist/sort-objects\": \"off\",\n },\n },\n type: \"postcss\",\n },\n]);\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/perfectionist.ts"],"names":["hasDependency","hasDevDependency","consoleLog","config","createConfigs","perfectionist_default"],"mappings":"wHAAA,OAAS,iBAAAA,EAAe,oBAAAC,MAAwB,+BAO5C,CAAC,OAAO,yDACPD,EAAc,oCAAoC,GAAKC,EAAiB,oCAAoC,KAE7G,OAAO,uDAAyD,GAEhEC,EAAW;AAAA;AAAA,CAAiI,GAIhJ,IAAMC,EAAwBC,EAAc,CACxC,CACI,OAAQ,CACJ,QAAS,CAAC,0CAA0C,EACpD,QAAS,CAAC,eAAe,EACzB,MAAO,CAEH,6BAA8B,MAE9B,iCAAkC,MAGlC,mCAAoC,MAEpC,mCAAoC,KACxC,CACJ,EACA,KAAM,KACV,EACA,CACI,OAAQ,CACJ,MAAO,CACH,6BAA8B,KAClC,CACJ,EACA,KAAM,SACV,CACJ,CAAC,EAEMC,EAAQF","sourcesContent":["import { hasDependency, hasDevDependency } from \"@anolilab/package-json-utils\";\nimport type { Linter } from \"eslint\";\n\nimport { createConfigs } from \"../../utils/create-config\";\nimport { consoleLog } from \"../../utils/loggers\";\n\nif (\n !global.hasAnolilabEsLintConfigPerfectionistTypescriptSortKeys &&\n (hasDependency(\"eslint-plugin-typescript-sort-keys\") || hasDevDependency(\"eslint-plugin-typescript-sort-keys\"))\n) {\n global.hasAnolilabEsLintConfigPerfectionistTypescriptSortKeys = true;\n\n consoleLog('\\nPlease remove \"eslint-plugin-typescript-sort-keys\" from your package.json, it conflicts with \"eslint-plugin-perfectionist\".\\n');\n}\n\n// @see https://github.com/azat-io/eslint-plugin-perfectionist\nconst config: Linter.Config = createConfigs([\n {\n config: {\n extends: [\"plugin:perfectionist/recommended-natural\"],\n plugins: [\"perfectionist\"],\n rules: {\n // Disabled because of sort-imports\n \"perfectionist/sort-imports\": \"off\",\n // Disabled because of @typescript-eslint/sort-type-constituents\n \"perfectionist/sort-union-types\": \"off\",\n\n // Disabled because of simple-import-sort/imports\n \"perfectionist/sort-named-imports\": \"off\",\n // Disabled because of simple-import-sort/exports\n \"perfectionist/sort-named-exports\": \"off\",\n },\n },\n type: \"all\",\n },\n {\n config: {\n rules: {\n \"perfectionist/sort-objects\": \"off\",\n },\n },\n type: \"postcss\",\n },\n]);\n\nexport default config;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anolilab/eslint-config",
3
- "version": "14.0.18",
3
+ "version": "14.0.20",
4
4
  "description": "ESLint shareable config for the Anolilab JavaScript style guide.",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -131,10 +131,10 @@
131
131
  "@anolilab/package-json-utils": "3.0.7",
132
132
  "@babel/eslint-parser": "^7.22.15",
133
133
  "@babel/plugin-syntax-import-assertions": "^7.22.5",
134
- "@jsenv/eslint-import-resolver": ">=8.0.4",
135
134
  "@eslint/js": "^8.50.0",
136
135
  "@html-eslint/eslint-plugin": "^0.19.1",
137
136
  "@html-eslint/parser": "^0.19.1",
137
+ "@jsenv/eslint-import-resolver": ">=8.0.4",
138
138
  "@rushstack/eslint-patch": "^1.5.1",
139
139
  "@rushstack/eslint-plugin-security": "^0.7.1",
140
140
  "@typescript-eslint/eslint-plugin": ">=6.7.4",
@@ -149,10 +149,10 @@
149
149
  "eslint-plugin-eslint-comments": "^3.2.0",
150
150
  "eslint-plugin-html": "^7.1.0",
151
151
  "eslint-plugin-i": "^2.28.1",
152
- "eslint-plugin-n": "^16.1.0",
153
152
  "eslint-plugin-jsonc": "^2.9.0",
154
153
  "eslint-plugin-markdown": "^3.0.1",
155
154
  "eslint-plugin-mdx": "^2.2.0",
155
+ "eslint-plugin-n": "^16.1.0",
156
156
  "eslint-plugin-no-loops": "^0.3.0",
157
157
  "eslint-plugin-no-only-tests": "^3.1.0",
158
158
  "eslint-plugin-no-secrets": "^0.8.9",
@@ -163,11 +163,11 @@
163
163
  "eslint-plugin-security": "^1.7.1",
164
164
  "eslint-plugin-simple-import-sort": "^10.0.0",
165
165
  "eslint-plugin-sonarjs": "^0.21.0",
166
- "eslint-plugin-toml": "^0.5.0",
166
+ "eslint-plugin-toml": "^0.6.0",
167
167
  "eslint-plugin-unicorn": "^48.0.1",
168
168
  "eslint-plugin-yml": "^1.9.0",
169
169
  "find-up": "5.0.0",
170
- "globals": "^13.22.0",
170
+ "globals": "^13.23.0",
171
171
  "jsonc-eslint-parser": "^2.3.0",
172
172
  "read-pkg-up": "^7.0.1",
173
173
  "semver": "^7.5.4",
@@ -182,7 +182,7 @@
182
182
  "@types/confusing-browser-globals": "^1.0.1",
183
183
  "@types/eslint": "^8.44.3",
184
184
  "@types/semver": "^7.5.3",
185
- "eslint": "^8.50.0",
185
+ "eslint": "^8.51.0",
186
186
  "eslint-find-rules": "^4.1.0",
187
187
  "eslint-plugin-babel": "^5.3.1",
188
188
  "eslint-plugin-cypress": "^2.15.1",
@@ -201,7 +201,7 @@
201
201
  "eslint-plugin-react-hooks": "^4.6.0",
202
202
  "eslint-plugin-react-redux": "^4.0.0",
203
203
  "eslint-plugin-ssr-friendly": "^1.2.0",
204
- "eslint-plugin-storybook": "^0.6.14",
204
+ "eslint-plugin-storybook": "^0.6.15",
205
205
  "eslint-plugin-tailwindcss": "^3.13.0",
206
206
  "eslint-plugin-testing-library": "^6.0.2",
207
207
  "eslint-plugin-validate-jsx-nesting": "^0.1.1",
@@ -214,7 +214,7 @@
214
214
  "rimraf": "^5.0.5",
215
215
  "semantic-release": "^22.0.5",
216
216
  "tsup": "^7.2.0",
217
- "type-fest": "^4.3.3",
217
+ "type-fest": "^4.4.0",
218
218
  "typescript": "^5.2.2",
219
219
  "vitest": "^0.34.6"
220
220
  },