@dmitryrechkin/eslint-standard 1.5.2 → 1.5.4
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/eslint.config.mjs +7 -2
- package/package.json +3 -2
package/eslint.config.mjs
CHANGED
|
@@ -403,7 +403,7 @@ export default function ({
|
|
|
403
403
|
'max-depth': ['error', { max: 3 }], // Max 3 levels of block nesting
|
|
404
404
|
'max-nested-callbacks': ['error', 3], // Max 3 levels of callback nesting
|
|
405
405
|
'max-lines': ['warn', {
|
|
406
|
-
max:
|
|
406
|
+
max: 500,
|
|
407
407
|
skipBlankLines: true,
|
|
408
408
|
skipComments: true
|
|
409
409
|
}],
|
|
@@ -844,7 +844,12 @@ export default function ({
|
|
|
844
844
|
'error',
|
|
845
845
|
{
|
|
846
846
|
parser: 'astro',
|
|
847
|
-
plugins: [
|
|
847
|
+
plugins: [
|
|
848
|
+
import.meta.resolve('prettier-plugin-astro'),
|
|
849
|
+
import.meta.resolve('prettier-plugin-brace-style'),
|
|
850
|
+
import.meta.resolve('prettier-plugin-merge')
|
|
851
|
+
],
|
|
852
|
+
braceStyle: 'allman',
|
|
848
853
|
singleQuote: true,
|
|
849
854
|
useTabs: true,
|
|
850
855
|
tabWidth: 4,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dmitryrechkin/eslint-standard",
|
|
3
3
|
"description": "This package provides a shared ESLint configuration which includes TypeScript support and a set of specific linting rules designed to ensure high-quality and consistent code style across projects.",
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.4",
|
|
5
5
|
"main": "eslint.config.mjs",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": "./eslint.config.mjs"
|
|
@@ -56,7 +56,8 @@
|
|
|
56
56
|
"eslint-plugin-unicorn": "^56.0.1",
|
|
57
57
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
58
58
|
"prettier-plugin-astro": "^0.14.1",
|
|
59
|
-
"prettier-plugin-brace-style": "^0.8.1"
|
|
59
|
+
"prettier-plugin-brace-style": "^0.8.1",
|
|
60
|
+
"prettier-plugin-merge": "^0.8.0"
|
|
60
61
|
},
|
|
61
62
|
"peerDependencies": {
|
|
62
63
|
"eslint": "^9.0.0",
|