@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 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-7";
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-17",
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 = [...Object.keys(dependencies), "typescript"];
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: ["--fix", "--quiet", "--config", tools.Path.join(facts().cwd, "eslint.config.js"), "{file}"],
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: ["-u", "--check", "{file}"],
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
- name: "gitleaks",
1716
- operations: {
1717
- lint: {
1718
- args: ["--config", tools.Path.join(facts().cwd, ".gitleaks.toml"), "dir"],
1719
- command: "gitleaks",
1720
- globs: ["**/*"],
1721
- mode: "whole-project",
1722
- rootOnly: true
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
- name: "Knip",
1749
- operations: {
1750
- lint: {
1751
- args: ["--config", tools.Path.join(facts().gitRoot, "knip.config.js")],
1752
- command: "knip",
1753
- globs: [],
1754
- mode: "whole-project"
1755
- }
1756
- },
1757
- projectTypes: ["npm-package"]
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
- name: "ShellCheck - Shell Script Linter",
1791
- operations: {
1792
- lint: {
1793
- args: ["-x", "{file}"],
1794
- command: "shellcheck",
1795
- globs: ["**/*.sh", "**/*.bash"],
1796
- mode: "per-file"
1797
- }
1798
- }
1799
- },
1800
- shfmt: {
1801
- name: "shfmt - Shell Script Formatter",
1802
- operations: {
1803
- fix: {
1804
- args: ["-w", "-i", "2", "-ci", "-sr", "{file}"],
1805
- command: "shfmt",
1806
- globs: ["**/*.sh", "**/*.bash"],
1807
- mode: "per-file",
1808
- priority: 0
1809
- },
1810
- lint: {
1811
- args: ["-d", "-i", "2", "-ci", "-sr", "{file}"],
1812
- command: "shfmt",
1813
- globs: ["**/*.sh", "**/*.bash"],
1814
- mode: "per-file"
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: {
@@ -14,7 +14,7 @@ var todoDisable = [
14
14
  var defineConfig = async (config, options = {
15
15
  plugins: {
16
16
  compat: { disabled: true },
17
- perfectionist: { disabled: false },
17
+ perfectionist: { disabled: true },
18
18
  vitest: { disabled: true },
19
19
  yaml: { disabled: true }
20
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shibanet0/datamitsu-config",
3
- "version": "0.0.1-alpha-7",
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-17",
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",