tz-clean 2.3.1 → 2.3.2
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 +1 -6
- package/index.js +1 -1
- package/package.json +1 -2
package/eslint.config.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import js from '@eslint/js';
|
|
2
|
-
import jsdoc from 'eslint-plugin-jsdoc';
|
|
3
2
|
import noComments from 'eslint-plugin-no-comments';
|
|
4
3
|
import perfectionist from 'eslint-plugin-perfectionist';
|
|
5
4
|
import projectStructure from 'eslint-plugin-project-structure';
|
|
@@ -23,7 +22,6 @@ export default [
|
|
|
23
22
|
js.configs.recommended,
|
|
24
23
|
...tseslint.configs.recommended,
|
|
25
24
|
sonarjs.configs.recommended,
|
|
26
|
-
jsdoc.configs['flat/recommended'],
|
|
27
25
|
perfectionist.configs['recommended-natural'],
|
|
28
26
|
{
|
|
29
27
|
linterOptions: {
|
|
@@ -56,11 +54,8 @@ export default [
|
|
|
56
54
|
{ format: null, selector: 'objectLiteralProperty' },
|
|
57
55
|
],
|
|
58
56
|
complexity: ['warn', { max: 15 }],
|
|
59
|
-
'jsdoc/require-jsdoc': 'warn',
|
|
60
|
-
'jsdoc/require-param': 'warn',
|
|
61
|
-
'jsdoc/require-returns': 'warn',
|
|
62
57
|
'no-comments/disallowComments': 'warn',
|
|
63
|
-
'no-multiple-empty-lines': ['
|
|
58
|
+
'no-multiple-empty-lines': ['warn', { max: 1, maxBOF: 0, maxEOF: 0 }],
|
|
64
59
|
'no-redeclare': 'off',
|
|
65
60
|
'no-undef': 'off',
|
|
66
61
|
'no-unused-vars': ['error', { args: 'none', vars: 'local' }],
|
package/index.js
CHANGED
|
@@ -324,7 +324,7 @@ function runEslintTools(includePaths = [], excludePaths = []) {
|
|
|
324
324
|
|
|
325
325
|
try {
|
|
326
326
|
eslintOutput = execSync(
|
|
327
|
-
`npx eslint ${targets}
|
|
327
|
+
`npx eslint ${targets} -c "${path.join(configDir, 'eslint.config.mjs')}" -f json ${ignoreFlags}`,
|
|
328
328
|
{
|
|
329
329
|
encoding: 'utf-8',
|
|
330
330
|
maxBuffer: 1024 * 1024 * 10,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tz-clean",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -44,7 +44,6 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@eslint/js": "^10.0.1",
|
|
46
46
|
"eslint": "^10.6.0",
|
|
47
|
-
"eslint-plugin-jsdoc": "^63.0.12",
|
|
48
47
|
"eslint-plugin-no-comments": "^1.2.1",
|
|
49
48
|
"eslint-plugin-perfectionist": "^5.10.0",
|
|
50
49
|
"eslint-plugin-project-structure": "^3.14.3",
|