@mrpelz/boilerplate-common 15.4.0 → 15.7.0
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/Makefile +1 -2
- package/eslint.config.js +7 -0
- package/package.json +1 -1
package/Makefile
CHANGED
|
@@ -43,8 +43,6 @@ ARGS := $(filter-out $(firstword $(MAKECMDGOALS)),$(MAKECMDGOALS))
|
|
|
43
43
|
|
|
44
44
|
export PATH := $(shell npm root)/.bin:$(PATH)
|
|
45
45
|
|
|
46
|
-
PACKAGE_LOCK_LINT_ARGS := --empty-hostname false --validate-https --validate-integrity --allowed-hosts npm
|
|
47
|
-
|
|
48
46
|
SUB_PACKAGE_DIR := packages
|
|
49
47
|
|
|
50
48
|
SUB_RUN = \
|
|
@@ -83,6 +81,7 @@ PKG_REPO_TYPE := $(shell npm pkg get --workspaces=false repository.type 2>/dev/n
|
|
|
83
81
|
PKG_REPO_NAME := $(shell npm pkg get --workspaces=false repository.url 2>/dev/null | sed -nr 's/^"(.+)"$$/\1/p' 2>/dev/null | sed -nr 's/^(https|git)(:\/\/|@)(.+@)?([^\/:]+)[\/:]([^\/:]+)\/(.+)\.git$$/\5\/\6/p' 2>/dev/null)
|
|
84
82
|
PKG_REPO_DIRECTORY := $(shell npm pkg get --workspaces=false repository.directory 2>/dev/null | sed -nr 's/^"(.+)"$$/\1/p' 2>/dev/null)
|
|
85
83
|
|
|
84
|
+
PACKAGE_LOCK_LINT_ARGS := --empty-hostname false --validate-https --allowed-hosts npm
|
|
86
85
|
ESLINT_ARGS := --ignore-pattern "dist/**/*" --ignore-pattern "node_modules/**/*" --ignore-pattern "$(SUB_PACKAGE_DIR)/**/*"
|
|
87
86
|
|
|
88
87
|
%:
|
package/eslint.config.js
CHANGED
|
@@ -436,12 +436,18 @@ export const rules = {
|
|
|
436
436
|
'template-curly-spacing': ['error', 'never'],
|
|
437
437
|
'template-tag-spacing': 'error',
|
|
438
438
|
'unicode-bom': ['error', 'never'],
|
|
439
|
+
'unicorn/consistent-boolean-name': 'off',
|
|
440
|
+
'unicorn/name-replacements': 'off',
|
|
441
|
+
'unicorn/no-exports-in-scripts': 'off',
|
|
439
442
|
'unicorn/no-null': 'off',
|
|
440
443
|
'unicorn/no-useless-undefined': 'off',
|
|
441
444
|
'unicorn/number-literal-case': 'off',
|
|
445
|
+
'unicorn/prefer-await': 'off',
|
|
442
446
|
'unicorn/prefer-native-coercion-functions': 'off',
|
|
447
|
+
'unicorn/prefer-number-coercion': 'off',
|
|
443
448
|
'unicorn/prefer-regexp-test': 'off',
|
|
444
449
|
'unicorn/prefer-set-has': 'off',
|
|
450
|
+
'unicorn/prefer-split-limit': 'off',
|
|
445
451
|
'unicorn/prefer-spread': 'off',
|
|
446
452
|
'unicorn/prefer-top-level-await': 'off',
|
|
447
453
|
'unicorn/prevent-abbreviations': 'off',
|
|
@@ -454,6 +460,7 @@ export const rules = {
|
|
|
454
460
|
|
|
455
461
|
/** @type {Record<string, import('eslint').ESLint.Plugin>} */
|
|
456
462
|
export const plugins = {
|
|
463
|
+
// @ts-ignore
|
|
457
464
|
'@stylistic/ts': stylisticTs,
|
|
458
465
|
// @ts-ignore
|
|
459
466
|
'@typescript-eslint': typescriptPlugin,
|