@anolilab/eslint-config 14.0.20 → 14.0.22

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,17 @@
1
+ ## @anolilab/eslint-config [14.0.22](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/eslint-config@14.0.21...@anolilab/eslint-config@14.0.22) (2023-10-10)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * disabled etc/no-deprecated if deprecation is used ([65276fa](https://github.com/anolilab/javascript-style-guide/commit/65276fac2c68e6b3e7950ebfbb4d88ecd1fe6429))
7
+
8
+ ## @anolilab/eslint-config [14.0.21](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/eslint-config@14.0.20...@anolilab/eslint-config@14.0.21) (2023-10-10)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * disabled perfectionist/sort-classes on ts files ([0103983](https://github.com/anolilab/javascript-style-guide/commit/010398389b9f9863a2f10ef4e18d80af701dcd60))
14
+
1
15
  ## @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
16
 
3
17
 
@@ -3,8 +3,8 @@
3
3
  var chunkWG6GTAIA_js = require('../../chunk-WG6GTAIA.js');
4
4
  require('../../chunk-MFE6DF6Y.js');
5
5
 
6
- var t=chunkWG6GTAIA_js.a("typescript",{plugins:["deprecation"],extends:["plugin:deprecation/recommended"]}),n=t;
6
+ var t=chunkWG6GTAIA_js.a("typescript",{plugins:["deprecation"],extends:["plugin:deprecation/recommended"],rules:{"etc/no-deprecated":"off"}}),o=t;
7
7
 
8
- module.exports = n;
8
+ module.exports = o;
9
9
  //# sourceMappingURL=out.js.map
10
10
  //# sourceMappingURL=deprecation.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/deprecation.ts"],"names":["config","createConfig","deprecation_default"],"mappings":"4EAKA,IAAMA,EAAwBC,EAAa,aAAc,CACrD,QAAS,CAAC,aAAa,EACvB,QAAS,CAAC,gCAAgC,CAC9C,CAAC,EAEMC,EAAQF","sourcesContent":["import type { Linter } from \"eslint\";\n\nimport { createConfig } from \"../../utils/create-config\";\n\n// @see https://github.com/francoismassart/eslint-plugin-tailwindcss,\nconst config: Linter.Config = createConfig(\"typescript\", {\n plugins: [\"deprecation\"],\n extends: [\"plugin:deprecation/recommended\"],\n});\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/deprecation.ts"],"names":["config","createConfig","deprecation_default"],"mappings":"4EAKA,IAAMA,EAAwBC,EAAa,aAAc,CACrD,QAAS,CAAC,aAAa,EACvB,QAAS,CAAC,gCAAgC,EAC1C,MAAO,CAEH,oBAAqB,KACzB,CACJ,CAAC,EAEMC,EAAQF","sourcesContent":["import type { Linter } from \"eslint\";\n\nimport { createConfig } from \"../../utils/create-config\";\n\n// @see https://github.com/francoismassart/eslint-plugin-tailwindcss,\nconst config: Linter.Config = createConfig(\"typescript\", {\n plugins: [\"deprecation\"],\n extends: [\"plugin:deprecation/recommended\"],\n rules: {\n // Disabled because of deprecation/deprecation\n \"etc/no-deprecated\": \"off\",\n },\n});\n\nexport default config;\n"]}
@@ -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","perfectionist/sort-named-exports":"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-classes":"off"}},type:"typescript"},{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,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"]}
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,CAEH,6BAA8B,KAClC,CACJ,EACA,KAAM,YACV,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 // Disabled because of @typescript-eslint/member-ordering\n \"perfectionist/sort-classes\": \"off\",\n },\n },\n type: \"typescript\",\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.20",
3
+ "version": "14.0.22",
4
4
  "description": "ESLint shareable config for the Anolilab JavaScript style guide.",
5
5
  "keywords": [
6
6
  "anolilab",