@rebeccastevens/eslint-config 3.2.2 → 3.2.3

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/dist/index.mjs CHANGED
@@ -2032,7 +2032,7 @@ async function promise() {
2032
2032
  const [pluginPromise] = (await loadPackages(["eslint-plugin-promise"]));
2033
2033
  return [
2034
2034
  {
2035
- name: "rs:node",
2035
+ name: "rs:promise",
2036
2036
  plugins: {
2037
2037
  promise: pluginPromise,
2038
2038
  },
@@ -2206,7 +2206,7 @@ async function regexp() {
2206
2206
  ]));
2207
2207
  return [
2208
2208
  {
2209
- name: "rs:node",
2209
+ name: "rs:regexp",
2210
2210
  plugins: {
2211
2211
  regexp: {
2212
2212
  ...pluginRegexp,
@@ -2291,7 +2291,7 @@ async function sonar(options) {
2291
2291
  const [pluginSonar] = (await loadPackages(["eslint-plugin-sonarjs"]));
2292
2292
  return [
2293
2293
  {
2294
- name: "rs:node",
2294
+ name: "rs:sonar",
2295
2295
  plugins: {
2296
2296
  sonar: pluginSonar,
2297
2297
  },
@@ -2342,7 +2342,7 @@ function sortTsconfig() {
2342
2342
  return [
2343
2343
  {
2344
2344
  files: ["**/tsconfig.json", "**/tsconfig.*.json"],
2345
- name: "",
2345
+ name: "rs:sort:tsconfig",
2346
2346
  rules: {
2347
2347
  "jsonc/sort-keys": [
2348
2348
  "error",
@@ -2702,7 +2702,7 @@ async function tailwind(options) {
2702
2702
  ]));
2703
2703
  return [
2704
2704
  {
2705
- name: "js:tailwindcss",
2705
+ name: "rs:tailwindcss",
2706
2706
  plugins: {
2707
2707
  tailwind: pluginTailwindCSS,
2708
2708
  "tailwind-readable": pluginReadableTailwind,
@@ -3624,7 +3624,7 @@ async function rsEslint(options, ...userConfigs) {
3624
3624
  Boolean(process.env["VSCODE_CWD"]) ||
3625
3625
  Boolean(process.env["JETBRAINS_IDE"]) ||
3626
3626
  Boolean(process.env["VIM"]) ||
3627
- Boolean(process.env["NVIM"])), ignores: ignoresOptions, ignoresFiles: ignoresFilesOptions = [".gitignore"], typescript: typeScriptOptions = isPackageExists("typescript"), unocss: unoCSSOptions = isPackageExists("unocss"), tailwind: tailwindOptions = isPackageExists("tailwindcss"), vue: vueOptions = VuePackages.some((i) => isPackageExists(i)), react: reactOptions = ReactPackages.some((i) => isPackageExists(i)), test: testOptions = true, jsx: jsxOptions = true, functional: functionalOptions = true, jsonc: jsoncOptions = false, yaml: yamlOptions = false, toml: tomlOptions = false, markdown: markdownOptions = false, formatters: formattersOptions = true, mode, projectRoot, } = options;
3627
+ Boolean(process.env["NVIM"])), ignores: ignoresOptions, ignoresFiles: ignoresFilesOptions = [".gitignore"], typescript: typeScriptOptions = isPackageExists("typescript"), unocss: unoCSSOptions = isPackageExists("unocss"), tailwind: tailwindOptions = isPackageExists("tailwindcss"), vue: vueOptions = VuePackages.some((i) => isPackageExists(i)), react: reactOptions = ReactPackages.some((i) => isPackageExists(i)), test: testOptions = true, jsx: jsxOptions = true, functional: functionalOptions = true, jsonc: jsoncOptions = false, yaml: yamlOptions = false, toml: tomlOptions = false, markdown: markdownOptions = false, formatters: formattersOptions = true, sonar: sonarOptions = true, mode, projectRoot, } = options;
3628
3628
  const stylisticOptions = options.stylistic === false
3629
3629
  ? false
3630
3630
  : typeof options.stylistic === "object"
@@ -3689,10 +3689,13 @@ async function rsEslint(options, ...userConfigs) {
3689
3689
  typescript: hasTypeScript,
3690
3690
  }), jsdoc({
3691
3691
  stylistic: stylisticOptions,
3692
- }), promise(), regexp(), sonar(functionalConfigOptions), comments(), unicorn(), node());
3692
+ }), promise(), regexp(), comments(), unicorn(), node());
3693
3693
  if (vueOptions !== false) {
3694
3694
  componentExts.push("vue");
3695
3695
  }
3696
+ if (sonarOptions) {
3697
+ m_configs.push(sonar(functionalConfigOptions));
3698
+ }
3696
3699
  if (jsxOptions) {
3697
3700
  m_configs.push(jsx());
3698
3701
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebeccastevens/eslint-config",
3
- "version": "3.2.2",
3
+ "version": "3.2.3",
4
4
  "description": "My ESLint shareable config.",
5
5
  "keywords": [
6
6
  "eslint config"
@@ -59,8 +59,8 @@
59
59
  "local-pkg": "^0.5.0"
60
60
  },
61
61
  "devDependencies": {
62
- "@commitlint/cli": "19.4.0",
63
- "@commitlint/config-conventional": "19.2.2",
62
+ "@commitlint/cli": "19.5.0",
63
+ "@commitlint/config-conventional": "19.5.0",
64
64
  "@cspell/dict-cryptocurrencies": "5.0.0",
65
65
  "@eslint-react/eslint-plugin": "1.9.1",
66
66
  "@eslint/compat": "1.1.1",
@@ -68,22 +68,22 @@
68
68
  "@semantic-release/changelog": "6.0.3",
69
69
  "@semantic-release/commit-analyzer": "13.0.0",
70
70
  "@semantic-release/git": "10.0.1",
71
- "@semantic-release/github": "10.1.4",
71
+ "@semantic-release/github": "11.0.0",
72
72
  "@semantic-release/npm": "12.0.1",
73
73
  "@semantic-release/release-notes-generator": "14.0.1",
74
- "@stylistic/eslint-plugin": "2.6.2",
75
- "@stylistic/eslint-plugin-migrate": "2.6.2",
74
+ "@stylistic/eslint-plugin": "2.8.0",
75
+ "@stylistic/eslint-plugin-migrate": "2.8.0",
76
76
  "@types/eslint": "9.6.0",
77
77
  "@types/node": "22.2.0",
78
- "@typescript-eslint/eslint-plugin": "8.0.1",
79
- "@typescript-eslint/parser": "8.0.1",
80
- "@typescript-eslint/utils": "8.0.1",
81
- "@unocss/eslint-plugin": "0.61.9",
78
+ "@typescript-eslint/eslint-plugin": "8.8.0",
79
+ "@typescript-eslint/parser": "8.8.0",
80
+ "@typescript-eslint/utils": "8.8.0",
81
+ "@unocss/eslint-plugin": "0.63.1",
82
82
  "commitizen": "4.3.0",
83
- "cspell": "8.13.2",
83
+ "cspell": "8.14.4",
84
84
  "cz-conventional-changelog": "3.3.0",
85
85
  "deassert": "1.1.0",
86
- "eslint": "9.9.0",
86
+ "eslint": "9.11.1",
87
87
  "eslint-config-prettier": "9.1.0",
88
88
  "eslint-flat-config-utils": "0.3.0",
89
89
  "eslint-formatting-reporter": "0.0.0",
@@ -93,7 +93,7 @@
93
93
  "eslint-plugin-format": "0.1.2",
94
94
  "eslint-plugin-functional": "7.0.1",
95
95
  "eslint-plugin-i18next": "6.0.9",
96
- "eslint-plugin-import-x": "3.1.0",
96
+ "eslint-plugin-import-x": "4.1.1",
97
97
  "eslint-plugin-jsdoc": "50.0.0",
98
98
  "eslint-plugin-jsonc": "2.16.0",
99
99
  "eslint-plugin-markdown": "5.1.0",
@@ -106,7 +106,7 @@
106
106
  "eslint-plugin-react-refresh": "0.4.9",
107
107
  "eslint-plugin-readable-tailwind": "1.6.0",
108
108
  "eslint-plugin-regexp": "2.6.0",
109
- "eslint-plugin-sonarjs": "1.0.4",
109
+ "eslint-plugin-sonarjs": "2.0.2",
110
110
  "eslint-plugin-tailwindcss": "3.17.4",
111
111
  "eslint-plugin-toml": "0.11.1",
112
112
  "eslint-plugin-unicorn": "55.0.0",
@@ -116,7 +116,7 @@
116
116
  "eslint-processor-vue-blocks": "0.1.2",
117
117
  "eslint-typegen": "0.3.0",
118
118
  "husky": "9.1.4",
119
- "jiti": "1.21.6",
119
+ "jiti": "2.1.0",
120
120
  "jsonc-eslint-parser": "2.4.0",
121
121
  "knip": "5.27.2",
122
122
  "lint-staged": "15.2.8",
@@ -124,9 +124,9 @@
124
124
  "markdownlint-cli": "0.41.0",
125
125
  "prettier": "3.3.3",
126
126
  "rimraf": "6.0.1",
127
- "rollup": "4.20.0",
127
+ "rollup": "4.22.4",
128
128
  "rollup-plugin-ts": "3.4.5",
129
- "semantic-release": "24.0.0",
129
+ "semantic-release": "24.1.2",
130
130
  "sort-package-json": "2.10.0",
131
131
  "toml-eslint-parser": "0.10.0",
132
132
  "tsc-files": "1.1.4",