eslint-config-agent 2.1.0 → 3.0.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/CHANGELOG.md +26 -0
- package/index.js +16 -1
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,32 @@ All notable changes to this project will be documented in this file. See [Conven
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
## 3.0.0 (2026-04-02)
|
|
8
|
+
|
|
9
|
+
* feat: add centy configuration and update claude agent/command definitions ([6f656c5](https://github.com/tupe12334/eslint-config-agent/commit/6f656c5))
|
|
10
|
+
* feat: move peerDependencies to dependencies for single-install experience ([80f5998](https://github.com/tupe12334/eslint-config-agent/commit/80f5998))
|
|
11
|
+
* feat(ci): migrate to OIDC trusted publishing and single CI/CD workflow ([d69b81a](https://github.com/tupe12334/eslint-config-agent/commit/d69b81a))
|
|
12
|
+
* feat(commands): add tupe Claude slash commands and update centy config ([5a8f4a0](https://github.com/tupe12334/eslint-config-agent/commit/5a8f4a0))
|
|
13
|
+
* feat(config): add eslint-plugin-early-return recommended config ([1fc0e45](https://github.com/tupe12334/eslint-config-agent/commit/1fc0e45))
|
|
14
|
+
* feat(config): add git diff and pnpm install permissions to settings ([d544eb7](https://github.com/tupe12334/eslint-config-agent/commit/d544eb7))
|
|
15
|
+
* feat(config): add git push and WebFetch permissions to settings ([8485f43](https://github.com/tupe12334/eslint-config-agent/commit/8485f43))
|
|
16
|
+
* feat(config): add pnpm knip and git restore permissions to settings ([ffac7cd](https://github.com/tupe12334/eslint-config-agent/commit/ffac7cd))
|
|
17
|
+
* feat(manifest): update centyVersion to 0.8.4 and clean up timestamps ([d735642](https://github.com/tupe12334/eslint-config-agent/commit/d735642))
|
|
18
|
+
* feat(rules): add eslint-plugin-switch-case with recommended config ([d938695](https://github.com/tupe12334/eslint-config-agent/commit/d938695))
|
|
19
|
+
* feat(rules): remove no-class-property-defaults rule ([0f606c5](https://github.com/tupe12334/eslint-config-agent/commit/0f606c5))
|
|
20
|
+
* feat(rules): replace tseslint recommended with strict-type-checked and stylistic-type-checked ([651ed7b](https://github.com/tupe12334/eslint-config-agent/commit/651ed7b))
|
|
21
|
+
* feat(settings): add 'Bash(ls:*)' permission to settings ([2a23685](https://github.com/tupe12334/eslint-config-agent/commit/2a23685))
|
|
22
|
+
* feat(settings): add additional Bash commands for formatting and testing ([27175fd](https://github.com/tupe12334/eslint-config-agent/commit/27175fd))
|
|
23
|
+
* feat(settings): add additional WebFetch permissions to settings ([cac497c](https://github.com/tupe12334/eslint-config-agent/commit/cac497c))
|
|
24
|
+
* feat(settings): add git stash and GitHub workflow permissions ([255513e](https://github.com/tupe12334/eslint-config-agent/commit/255513e))
|
|
25
|
+
* fix(rules): suppress no-empty-function in RuleTester no-op callbacks ([56ca34f](https://github.com/tupe12334/eslint-config-agent/commit/56ca34f))
|
|
26
|
+
* chore: remove eslint-plugin-preact from knip ignoreDependencies ([032a085](https://github.com/tupe12334/eslint-config-agent/commit/032a085))
|
|
27
|
+
* chore: remove kiro settings configuration files ([80baec6](https://github.com/tupe12334/eslint-config-agent/commit/80baec6))
|
|
28
|
+
* chore(config): remove empty hooks array from config.json ([750cc28](https://github.com/tupe12334/eslint-config-agent/commit/750cc28))
|
|
29
|
+
* chore(release): bump version to 2.0.0 ([982c1d9](https://github.com/tupe12334/eslint-config-agent/commit/982c1d9))
|
|
30
|
+
* chore(release): bump version to 2.1.0 ([5dc4711](https://github.com/tupe12334/eslint-config-agent/commit/5dc4711))
|
|
31
|
+
* refactor(classname): replace custom rule with eslint-plugin-jsx-classname strict config ([9da02c0](https://github.com/tupe12334/eslint-config-agent/commit/9da02c0))
|
|
32
|
+
|
|
7
33
|
## <small>1.9.3 (2026-01-10)</small>
|
|
8
34
|
|
|
9
35
|
* chore: update eslint-plugin-ddd to v0.5.2 ([27e8654](https://github.com/tupe12334/eslint-config/commit/27e8654))
|
package/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import js from '@eslint/js'
|
|
2
2
|
import earlyReturn from 'eslint-plugin-early-return'
|
|
3
|
+
import switchCase from 'eslint-plugin-switch-case'
|
|
3
4
|
import jsxClassname from 'eslint-plugin-jsx-classname'
|
|
4
5
|
import reactHooks from 'eslint-plugin-react-hooks'
|
|
5
6
|
import { defineConfig } from 'eslint/config'
|
|
@@ -107,8 +108,22 @@ const config = defineConfig([
|
|
|
107
108
|
},
|
|
108
109
|
reactHooks.configs['recommended-latest'],
|
|
109
110
|
js.configs.recommended,
|
|
110
|
-
...tseslint.configs.
|
|
111
|
+
...tseslint.configs.strictTypeChecked,
|
|
112
|
+
...tseslint.configs.stylisticTypeChecked,
|
|
113
|
+
{
|
|
114
|
+
files: ['**/*.{ts,tsx}'],
|
|
115
|
+
languageOptions: {
|
|
116
|
+
parserOptions: {
|
|
117
|
+
projectService: true,
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
files: ['**/*.{js,jsx,mjs,cjs}'],
|
|
123
|
+
...tseslint.configs.disableTypeChecked,
|
|
124
|
+
},
|
|
111
125
|
earlyReturn.configs.recommended,
|
|
126
|
+
{ plugins: { 'switch-case': switchCase }, ...switchCase.configs.recommended },
|
|
112
127
|
|
|
113
128
|
// Base plugin strict configs (error, default, guard-clauses)
|
|
114
129
|
...basePluginsConfig,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-agent",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "ESLint configuration package with TypeScript support",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -120,6 +120,7 @@
|
|
|
120
120
|
"eslint-plugin-security": "^3.0.1",
|
|
121
121
|
"eslint-plugin-single-export": "^1.1.2",
|
|
122
122
|
"eslint-plugin-storybook": "^9.1.5",
|
|
123
|
+
"eslint-plugin-switch-case": "^3.0.1",
|
|
123
124
|
"globals": "^16.4.0",
|
|
124
125
|
"typescript-eslint": "^8.40.0"
|
|
125
126
|
}
|