@rebeccastevens/eslint-config 1.5.6 → 1.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.
package/dist/modern.cjs CHANGED
@@ -847,17 +847,22 @@ const settings$6 = {
847
847
  plugins: ["jsdoc"],
848
848
  extends: ["plugin:jsdoc/recommended"],
849
849
  rules: {
850
+ "jsdoc/check-alignment": "error",
850
851
  // waiting on https://github.com/eslint/eslint/issues/14745
851
- // "jsdoc/check-examples": "warn",
852
- "jsdoc/check-indentation": "warn",
853
- "jsdoc/check-line-alignment": "warn",
852
+ // "jsdoc/check-examples": "error",
853
+ "jsdoc/check-indentation": "error",
854
+ "jsdoc/check-line-alignment": "error",
855
+ "jsdoc/check-param-names": "error",
856
+ "jsdoc/check-property-names": "error",
857
+ "jsdoc/check-types": "error",
858
+ "jsdoc/check-values": "error",
854
859
  "jsdoc/no-bad-blocks": "warn",
855
860
  "jsdoc/no-defaults": "warn",
856
- "jsdoc/require-asterisk-prefix": "warn",
861
+ "jsdoc/require-asterisk-prefix": "error",
857
862
  "jsdoc/require-description": "warn",
858
863
  // Rule is too strict.
859
864
  // "jsdoc/require-description-complete-sentence": "off",
860
- "jsdoc/require-hyphen-before-param-description": "warn",
865
+ "jsdoc/require-hyphen-before-param-description": "error",
861
866
  "jsdoc/require-jsdoc": [
862
867
  "warn",
863
868
  {
@@ -875,7 +880,11 @@ const settings$6 = {
875
880
  },
876
881
  },
877
882
  ],
883
+ "jsdoc/require-param-name": "error",
884
+ "jsdoc/require-property-name": "error",
885
+ "jsdoc/require-returns-check": "error",
878
886
  "jsdoc/require-throws": "warn",
887
+ "jsdoc/require-yields-check": "error",
879
888
  "jsdoc/tag-lines": [
880
889
  "warn",
881
890
  "never",
@@ -887,12 +896,12 @@ const settings$6 = {
887
896
  files: typescriptFiles,
888
897
  rules: {
889
898
  "jsdoc/no-types": "warn",
890
- "jsdoc/require-param-type": "off",
891
899
  "jsdoc/require-param": "off",
892
- "jsdoc/require-property-type": "off",
893
900
  "jsdoc/require-property": "off",
894
- "jsdoc/require-returns-type": "off",
895
901
  "jsdoc/require-returns": "off",
902
+ "jsdoc/require-param-type": "off",
903
+ "jsdoc/require-property-type": "off",
904
+ "jsdoc/require-returns-type": "off",
896
905
  },
897
906
  },
898
907
  ],
package/dist/modern.mjs CHANGED
@@ -845,17 +845,22 @@ const settings$6 = {
845
845
  plugins: ["jsdoc"],
846
846
  extends: ["plugin:jsdoc/recommended"],
847
847
  rules: {
848
+ "jsdoc/check-alignment": "error",
848
849
  // waiting on https://github.com/eslint/eslint/issues/14745
849
- // "jsdoc/check-examples": "warn",
850
- "jsdoc/check-indentation": "warn",
851
- "jsdoc/check-line-alignment": "warn",
850
+ // "jsdoc/check-examples": "error",
851
+ "jsdoc/check-indentation": "error",
852
+ "jsdoc/check-line-alignment": "error",
853
+ "jsdoc/check-param-names": "error",
854
+ "jsdoc/check-property-names": "error",
855
+ "jsdoc/check-types": "error",
856
+ "jsdoc/check-values": "error",
852
857
  "jsdoc/no-bad-blocks": "warn",
853
858
  "jsdoc/no-defaults": "warn",
854
- "jsdoc/require-asterisk-prefix": "warn",
859
+ "jsdoc/require-asterisk-prefix": "error",
855
860
  "jsdoc/require-description": "warn",
856
861
  // Rule is too strict.
857
862
  // "jsdoc/require-description-complete-sentence": "off",
858
- "jsdoc/require-hyphen-before-param-description": "warn",
863
+ "jsdoc/require-hyphen-before-param-description": "error",
859
864
  "jsdoc/require-jsdoc": [
860
865
  "warn",
861
866
  {
@@ -873,7 +878,11 @@ const settings$6 = {
873
878
  },
874
879
  },
875
880
  ],
881
+ "jsdoc/require-param-name": "error",
882
+ "jsdoc/require-property-name": "error",
883
+ "jsdoc/require-returns-check": "error",
876
884
  "jsdoc/require-throws": "warn",
885
+ "jsdoc/require-yields-check": "error",
877
886
  "jsdoc/tag-lines": [
878
887
  "warn",
879
888
  "never",
@@ -885,12 +894,12 @@ const settings$6 = {
885
894
  files: typescriptFiles,
886
895
  rules: {
887
896
  "jsdoc/no-types": "warn",
888
- "jsdoc/require-param-type": "off",
889
897
  "jsdoc/require-param": "off",
890
- "jsdoc/require-property-type": "off",
891
898
  "jsdoc/require-property": "off",
892
- "jsdoc/require-returns-type": "off",
893
899
  "jsdoc/require-returns": "off",
900
+ "jsdoc/require-param-type": "off",
901
+ "jsdoc/require-property-type": "off",
902
+ "jsdoc/require-returns-type": "off",
894
903
  },
895
904
  },
896
905
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebeccastevens/eslint-config",
3
- "version": "1.5.6",
3
+ "version": "1.5.7",
4
4
  "description": "My ESLint shareable config.",
5
5
  "keywords": [
6
6
  "eslint config"
@@ -77,10 +77,10 @@
77
77
  "@semantic-release/npm": "9.0.2",
78
78
  "@semantic-release/release-notes-generator": "10.0.3",
79
79
  "@types/eslint": "8.21.1",
80
- "@types/node": "18.15.0",
80
+ "@types/node": "18.15.2",
81
81
  "@types/rollup-plugin-auto-external": "2.0.2",
82
- "@typescript-eslint/eslint-plugin": "5.54.1",
83
- "@typescript-eslint/parser": "5.54.1",
82
+ "@typescript-eslint/eslint-plugin": "5.55.0",
83
+ "@typescript-eslint/parser": "5.55.0",
84
84
  "commitizen": "4.3.0",
85
85
  "cspell": "6.29.0",
86
86
  "cz-conventional-changelog": "3.3.0",
@@ -90,7 +90,7 @@
90
90
  "eslint-plugin-eslint-comments": "3.2.0",
91
91
  "eslint-plugin-functional": "5.0.6",
92
92
  "eslint-plugin-import": "2.27.5",
93
- "eslint-plugin-jsdoc": "40.0.1",
93
+ "eslint-plugin-jsdoc": "40.0.2",
94
94
  "eslint-plugin-markdown": "3.0.0",
95
95
  "eslint-plugin-node": "11.1.0",
96
96
  "eslint-plugin-optimize-regex": "1.2.1",