Upgrade package versions and update ESLint config

Upgraded the project version to 0.0.8. Updated various dev dependencies, specifically @typescript-eslint packages and eslint-plugin-jsdoc, to their latest versions. Replaced @typescript-eslint/eslint-plugin with @stylistic/eslint-plugin to ensure compatibility and improved linting. These changes enhance code quality and tool efficiency.
This commit is contained in:
2024-08-15 00:08:52 +02:00
parent de2cca1742
commit f0d1db6fa1
4 changed files with 264 additions and 182 deletions

View File

@@ -10,7 +10,8 @@
"prettier",
"import",
"jsdoc",
"override"
"override",
"@stylistic"
],
"extends": [
"eslint:recommended",
@@ -63,8 +64,7 @@
"format": [],
"custom": {
"regex": "^(_{1,2}I[A-Z][a-zA-Z0-9]*_?|_{1,2}[a-z][a-zA-Z0-9]*)$",
"match": true,
"message": "Private class properties should be prefixed with an underscore. Exceptions are private class properties that are interfaces. These should be prefixed with '_I'."
"match": true
}
},
{
@@ -75,8 +75,7 @@
"format": [],
"custom": {
"regex": "^(_{1,2}I[A-Z][a-zA-Z0-9]*_?|_{1,2}[a-z][a-zA-Z0-9]*)$",
"match": true,
"message": "Protected class properties should be prefixed with an underscore. Exceptions are protected class properties that are interfaces. These should be prefixed with '_I'."
"match": true
}
},
{
@@ -143,7 +142,8 @@
}
}
],
"@typescript-eslint/padding-line-between-statements": [
"@typescript-eslint/no-unused-expressions": "off",
"@stylistic/padding-line-between-statements": [
"warn",
{
"blankLine": "always",