eslint-config-arklint 1.2.3 → 1.3.1

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.
@@ -33,19 +33,19 @@ module.exports = {
33
33
  message: "The main description should be written in the third person, begin with a capital letter and end with a period.",
34
34
  match: "/^[A-Z][.^\\w]*s\\b.*\\.$/us"
35
35
  },
36
- matchDescription: "[A-Z].*|^\\w+([-]*\\w)*( \\| \\w+([-]*\\w)*)*$",
36
+ matchDescription: "^[A-Z].*[^\\.]$",
37
37
  tags: {
38
38
  param: {
39
- message: "@param description should begin with a capital letter or be a list of options separated by pipes.",
39
+ message: "@param description should begin with a capital letter and not end with a period.",
40
40
  match: true
41
41
  },
42
42
  property: {
43
- message: "@property description should begin with a capital letter or be a list of options separated by pipes.",
43
+ message: "@property description should begin with a capital letter and not end with a period.",
44
44
  match: true
45
45
  },
46
46
  returns: {
47
- message: "@returns description should begin with a capital letter.",
48
- match: "[A-Z].*"
47
+ message: "@returns description should begin with a capital letter and not end with a period.",
48
+ match: true
49
49
  }
50
50
  }
51
51
  }]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-arklint",
3
- "version": "1.2.3",
3
+ "version": "1.3.1",
4
4
  "author": "Arkellys",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -16,7 +16,7 @@
16
16
  "@rushstack/eslint-patch": "^1.7.2",
17
17
  "confusing-browser-globals": "^1.0.11",
18
18
  "eslint-plugin-import": "^2.29.1",
19
- "eslint-plugin-jsdoc": "^48.0.6",
19
+ "eslint-plugin-jsdoc": "^48.1.0",
20
20
  "eslint-plugin-jsx-a11y": "^6.8.0",
21
21
  "eslint-plugin-react": "^7.33.2",
22
22
  "eslint-plugin-react-hooks": "^4.6.0",