@cuiqg/eslint-config 2.5.5 → 2.5.7

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.
Files changed (2) hide show
  1. package/dist/index.js +0 -13
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -322,7 +322,6 @@ async function javascript() {
322
322
  "no-useless-computed-key": "error",
323
323
  "no-useless-constructor": "error",
324
324
  "no-useless-rename": "error",
325
- "no-useless-return": "error",
326
325
  "no-var": "error",
327
326
  "no-with": "error",
328
327
  "object-shorthand": [
@@ -674,15 +673,6 @@ async function vue() {
674
673
  files,
675
674
  processor: pluginVue.processors[".vue"],
676
675
  rules: {
677
- ...pluginVue.configs.base.rules,
678
- ...pluginVue.configs["flat/essential"].map((c) => c.rules).reduce((acc, c) => ({
679
- ...acc,
680
- ...c
681
- }), {}),
682
- ...pluginVue.configs["flat/strongly-recommended"].map((c) => c.rules).reduce((acc, c) => ({
683
- ...acc,
684
- ...c
685
- }), {}),
686
676
  ...pluginVue.configs["flat/recommended"].map((c) => c.rules).reduce((acc, c) => ({
687
677
  ...acc,
688
678
  ...c
@@ -693,9 +683,6 @@ async function vue() {
693
683
  "template",
694
684
  "style"
695
685
  ] }],
696
- "vue/component-name-in-template-casing": ["error", "PascalCase"],
697
- "vue/component-options-name-casing": ["error", "PascalCase"],
698
- "vue/component-tags-order": "off",
699
686
  "vue/custom-event-name-casing": ["error", "camelCase"],
700
687
  "vue/define-macros-order": ["error", { order: [
701
688
  "defineOptions",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cuiqg/eslint-config",
3
- "version": "2.5.5",
3
+ "version": "2.5.7",
4
4
  "description": "Eslint config for @cuiqg",
5
5
  "keywords": [
6
6
  "eslint-config"