From 7a3d6243649c7f4caecc9ed994eef9b44a10f296 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Thu, 9 Nov 2023 01:53:29 +0800 Subject: [PATCH] chore(deps-dev): reduce external config files --- .browserslistrc | 5 ---- .commitlintrc.json | 8 ------ .prettierrc | 3 -- .stylelintrc.json | 23 --------------- .versionrc.json | 20 ------------- package.json | 71 ++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 71 insertions(+), 59 deletions(-) delete mode 100644 .browserslistrc delete mode 100644 .commitlintrc.json delete mode 100644 .prettierrc delete mode 100644 .stylelintrc.json delete mode 100644 .versionrc.json diff --git a/.browserslistrc b/.browserslistrc deleted file mode 100644 index afe4650..0000000 --- a/.browserslistrc +++ /dev/null @@ -1,5 +0,0 @@ -# https://github.com/browserslist/browserslist#browserslistrc - -last 2 versions -> 0.2% -not dead diff --git a/.commitlintrc.json b/.commitlintrc.json deleted file mode 100644 index 5bed7cb..0000000 --- a/.commitlintrc.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "rules": { - "body-max-line-length": [ - 0, - "always" - ] - } -} diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index 36b3563..0000000 --- a/.prettierrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "trailingComma": "none" -} diff --git a/.stylelintrc.json b/.stylelintrc.json deleted file mode 100644 index a4ccded..0000000 --- a/.stylelintrc.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "extends": "stylelint-config-standard-scss", - "rules": { - "no-descending-specificity": null, - "shorthand-property-no-redundant-values": null, - "at-rule-no-vendor-prefix": null, - "property-no-vendor-prefix": null, - "selector-no-vendor-prefix": null, - "value-no-vendor-prefix": null, - "color-function-notation": "legacy", - "alpha-value-notation": "number", - "selector-not-notation": "simple", - "color-hex-length": "long", - "declaration-block-single-line-max-declarations": 3, - "scss/operator-no-newline-after": null, - "rule-empty-line-before": [ - "always", - { "ignore": ["after-comment", "first-nested"] } - ], - "value-keyword-case": ["lower", { "ignoreProperties": ["/^\\$/"] }], - "media-feature-range-notation": "prefix" - } -} diff --git a/.versionrc.json b/.versionrc.json deleted file mode 100644 index 4b880d3..0000000 --- a/.versionrc.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "skip": { - "commit": true, - "tag": true - }, - "types": [ - { - "type": "feat", - "section": "Features" - }, - { - "type": "fix", - "section": "Bug Fixes" - }, - { - "type": "perf", - "section": "Improvements" - } - ] -} diff --git a/package.json b/package.json index 5d01720..a723e13 100644 --- a/package.json +++ b/package.json @@ -31,5 +31,76 @@ "rollup-plugin-license": "^3.2.0", "stylelint": "^15.11.0", "stylelint-config-standard-scss": "^11.1.0" + }, + "prettier": { + "trailingComma": "none" + }, + "browserslist": [ + "last 2 versions", + "> 0.2%", + "not dead" + ], + "commitlint": { + "rules": { + "body-max-line-length": [ + 0, + "always" + ] + } + }, + "stylelint": { + "extends": "stylelint-config-standard-scss", + "rules": { + "no-descending-specificity": null, + "shorthand-property-no-redundant-values": null, + "at-rule-no-vendor-prefix": null, + "property-no-vendor-prefix": null, + "selector-no-vendor-prefix": null, + "value-no-vendor-prefix": null, + "color-function-notation": "legacy", + "alpha-value-notation": "number", + "selector-not-notation": "simple", + "color-hex-length": "long", + "declaration-block-single-line-max-declarations": 3, + "scss/operator-no-newline-after": null, + "rule-empty-line-before": [ + "always", + { + "ignore": [ + "after-comment", + "first-nested" + ] + } + ], + "value-keyword-case": [ + "lower", + { + "ignoreProperties": [ + "/^\\$/" + ] + } + ], + "media-feature-range-notation": "prefix" + } + }, + "standard-version": { + "skip": { + "commit": true, + "tag": true + }, + "types": [ + { + "type": "feat", + "section": "Features" + }, + { + "type": "fix", + "section": "Bug Fixes" + }, + { + "type": "perf", + "section": "Improvements" + } + ] } }