@shibanet0/datamitsu-config 0.0.1-alpha-7 → 0.0.1-alpha-9
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/datamitsu.js +80 -58
- package/dist/eslint/index.js +1 -1
- package/package.json +2 -2
package/datamitsu.js
CHANGED
|
@@ -863,14 +863,14 @@ var mapOfApps = {
|
|
|
863
863
|
|
|
864
864
|
// package.json
|
|
865
865
|
var name = "@shibanet0/datamitsu-config";
|
|
866
|
-
var version = "0.0.1-alpha-
|
|
866
|
+
var version = "0.0.1-alpha-9";
|
|
867
867
|
var dependencies = {
|
|
868
868
|
"@antebudimir/eslint-plugin-vanilla-extract": "1.16.0",
|
|
869
869
|
"@commitlint/cli": "20.2.0",
|
|
870
870
|
"@commitlint/config-conventional": "20.2.0",
|
|
871
871
|
"@commitlint/format": "20.2.0",
|
|
872
872
|
"@commitlint/types": "20.2.0",
|
|
873
|
-
"@datamitsu/datamitsu": "0.0.1-alpha-
|
|
873
|
+
"@datamitsu/datamitsu": "0.0.1-alpha-18",
|
|
874
874
|
"@eslint/config-helpers": "0.5.0",
|
|
875
875
|
"@eslint/js": "9.39.2",
|
|
876
876
|
"@prettier/plugin-xml": "3.4.2",
|
|
@@ -1038,7 +1038,11 @@ var cleanDependencies = (deps) => {
|
|
|
1038
1038
|
return deps;
|
|
1039
1039
|
}
|
|
1040
1040
|
if (!deps) return;
|
|
1041
|
-
const excludeDependencyNameList = [
|
|
1041
|
+
const excludeDependencyNameList = [
|
|
1042
|
+
...Object.keys(dependencies),
|
|
1043
|
+
"typescript",
|
|
1044
|
+
"@trivago/prettier-plugin-sort-imports"
|
|
1045
|
+
];
|
|
1042
1046
|
return Object.entries(deps).reduce(
|
|
1043
1047
|
(acc, [name2, version2]) => {
|
|
1044
1048
|
if (!excludeDependencyNameList.includes(name2)) {
|
|
@@ -1696,14 +1700,32 @@ var toolsConfig = {
|
|
|
1696
1700
|
name: "Eslint",
|
|
1697
1701
|
operations: {
|
|
1698
1702
|
fix: {
|
|
1699
|
-
args: [
|
|
1703
|
+
args: [
|
|
1704
|
+
"--report-unused-inline-configs",
|
|
1705
|
+
"0",
|
|
1706
|
+
"--report-unused-disable-directives-severity",
|
|
1707
|
+
"0",
|
|
1708
|
+
"--fix",
|
|
1709
|
+
"--quiet",
|
|
1710
|
+
"--config",
|
|
1711
|
+
tools.Path.join(facts().cwd, "eslint.config.js"),
|
|
1712
|
+
"{file}"
|
|
1713
|
+
],
|
|
1700
1714
|
command: "eslint",
|
|
1701
1715
|
globs: eslintGlobs,
|
|
1702
1716
|
mode: "per-file",
|
|
1703
1717
|
priority: 0
|
|
1704
1718
|
},
|
|
1705
1719
|
lint: {
|
|
1706
|
-
args: [
|
|
1720
|
+
args: [
|
|
1721
|
+
"--report-unused-inline-configs",
|
|
1722
|
+
"0",
|
|
1723
|
+
"--report-unused-disable-directives-severity",
|
|
1724
|
+
"0",
|
|
1725
|
+
"-u",
|
|
1726
|
+
"--check",
|
|
1727
|
+
"{file}"
|
|
1728
|
+
],
|
|
1707
1729
|
command: "prettier",
|
|
1708
1730
|
globs: eslintGlobs,
|
|
1709
1731
|
mode: "per-file"
|
|
@@ -1711,18 +1733,18 @@ var toolsConfig = {
|
|
|
1711
1733
|
},
|
|
1712
1734
|
projectTypes: ["npm-package"]
|
|
1713
1735
|
},
|
|
1714
|
-
gitleaks: {
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
},
|
|
1736
|
+
// gitleaks: {
|
|
1737
|
+
// name: "gitleaks",
|
|
1738
|
+
// operations: {
|
|
1739
|
+
// lint: {
|
|
1740
|
+
// args: ["--config", tools.Path.join(facts().cwd, ".gitleaks.toml"), "dir"],
|
|
1741
|
+
// command: "gitleaks",
|
|
1742
|
+
// globs: ["**/*"],
|
|
1743
|
+
// mode: "whole-project",
|
|
1744
|
+
// rootOnly: true,
|
|
1745
|
+
// },
|
|
1746
|
+
// },
|
|
1747
|
+
// },
|
|
1726
1748
|
"golangci-lint": {
|
|
1727
1749
|
name: "golangci-lint - Go Linter",
|
|
1728
1750
|
operations: {
|
|
@@ -1744,18 +1766,18 @@ var toolsConfig = {
|
|
|
1744
1766
|
},
|
|
1745
1767
|
projectTypes: ["golang-package"]
|
|
1746
1768
|
},
|
|
1747
|
-
knip: {
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
},
|
|
1769
|
+
// knip: {
|
|
1770
|
+
// name: "Knip",
|
|
1771
|
+
// operations: {
|
|
1772
|
+
// lint: {
|
|
1773
|
+
// args: ["--config", tools.Path.join(facts().gitRoot, "knip.config.js")],
|
|
1774
|
+
// command: "knip",
|
|
1775
|
+
// globs: [],
|
|
1776
|
+
// mode: "whole-project",
|
|
1777
|
+
// },
|
|
1778
|
+
// },
|
|
1779
|
+
// projectTypes: ["npm-package"],
|
|
1780
|
+
// },
|
|
1759
1781
|
prettier: {
|
|
1760
1782
|
name: "Prettier - Code Formatter",
|
|
1761
1783
|
operations: {
|
|
@@ -1786,35 +1808,35 @@ var toolsConfig = {
|
|
|
1786
1808
|
// },
|
|
1787
1809
|
// },
|
|
1788
1810
|
// },
|
|
1789
|
-
shellcheck: {
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
},
|
|
1800
|
-
shfmt: {
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
},
|
|
1811
|
+
// shellcheck: {
|
|
1812
|
+
// name: "ShellCheck - Shell Script Linter",
|
|
1813
|
+
// operations: {
|
|
1814
|
+
// lint: {
|
|
1815
|
+
// args: ["-x", "{file}"],
|
|
1816
|
+
// command: "shellcheck",
|
|
1817
|
+
// globs: ["**/*.sh", "**/*.bash"],
|
|
1818
|
+
// mode: "per-file",
|
|
1819
|
+
// },
|
|
1820
|
+
// },
|
|
1821
|
+
// },
|
|
1822
|
+
// shfmt: {
|
|
1823
|
+
// name: "shfmt - Shell Script Formatter",
|
|
1824
|
+
// operations: {
|
|
1825
|
+
// fix: {
|
|
1826
|
+
// args: ["-w", "-i", "2", "-ci", "-sr", "{file}"],
|
|
1827
|
+
// command: "shfmt",
|
|
1828
|
+
// globs: ["**/*.sh", "**/*.bash"],
|
|
1829
|
+
// mode: "per-file",
|
|
1830
|
+
// priority: 0,
|
|
1831
|
+
// },
|
|
1832
|
+
// lint: {
|
|
1833
|
+
// args: ["-d", "-i", "2", "-ci", "-sr", "{file}"],
|
|
1834
|
+
// command: "shfmt",
|
|
1835
|
+
// globs: ["**/*.sh", "**/*.bash"],
|
|
1836
|
+
// mode: "per-file",
|
|
1837
|
+
// },
|
|
1838
|
+
// },
|
|
1839
|
+
// },
|
|
1818
1840
|
"sort-package-json": {
|
|
1819
1841
|
name: "sort-package-json",
|
|
1820
1842
|
operations: {
|
package/dist/eslint/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shibanet0/datamitsu-config",
|
|
3
|
-
"version": "0.0.1-alpha-
|
|
3
|
+
"version": "0.0.1-alpha-9",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"@commitlint/config-conventional": "20.2.0",
|
|
64
64
|
"@commitlint/format": "20.2.0",
|
|
65
65
|
"@commitlint/types": "20.2.0",
|
|
66
|
-
"@datamitsu/datamitsu": "0.0.1-alpha-
|
|
66
|
+
"@datamitsu/datamitsu": "0.0.1-alpha-18",
|
|
67
67
|
"@eslint/config-helpers": "0.5.0",
|
|
68
68
|
"@eslint/js": "9.39.2",
|
|
69
69
|
"@prettier/plugin-xml": "3.4.2",
|