@danielwaltz/eslint-config 0.2.0 → 1.2.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 CHANGED
@@ -1,6 +1,18 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## v1.2.0
5
+
6
+ [compare changes](https://github.com/danielwaltz/eslint-config/compare/v0.2.0...v1.2.0)
7
+
8
+ ### 🚀 Enhancements
9
+
10
+ - Add and enable erasable syntax only plugin and config ([f515da7](https://github.com/danielwaltz/eslint-config/commit/f515da7))
11
+
12
+ ### ❤️ Contributors
13
+
14
+ - Daniel Waltz ([@danielwaltz](https://github.com/danielwaltz))
15
+
4
16
  ## v0.2.0
5
17
 
6
18
  [compare changes](https://github.com/danielwaltz/eslint-config/compare/v0.1.2...v0.2.0)
package/dist/index.mjs CHANGED
@@ -1,8 +1,18 @@
1
1
  import { sxzz, hasVue } from '@sxzz/eslint-config';
2
2
  export * from '@sxzz/eslint-config';
3
+ import erasableSyntaxOnlyPlugin from 'eslint-plugin-erasable-syntax-only';
3
4
  import { composer } from 'eslint-flat-config-utils';
4
5
  export { defineFlatConfig } from 'eslint-flat-config-utils';
5
6
 
7
+ function typescriptConfigs() {
8
+ return [
9
+ {
10
+ name: "danielwaltz/erasable-syntax-only",
11
+ ...erasableSyntaxOnlyPlugin.configs.recommended
12
+ }
13
+ ];
14
+ }
15
+
6
16
  function unicornConfigs() {
7
17
  return [
8
18
  {
@@ -111,6 +121,7 @@ function defineFlatConfigs(...configs) {
111
121
  async function danielwaltz(...params) {
112
122
  const composer = defineFlatConfigs();
113
123
  composer.prepend(await sxzz(...params));
124
+ composer.append(typescriptConfigs());
114
125
  composer.append(unicornConfigs());
115
126
  if (hasVue()) composer.append(vueConfigs());
116
127
  return composer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danielwaltz/eslint-config",
3
- "version": "0.2.0",
3
+ "version": "1.2.0",
4
4
  "packageManager": "pnpm@10.6.1",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -33,7 +33,7 @@
33
33
  "type-check": "tsc --noEmit",
34
34
  "prepack": "pnpm build",
35
35
  "test": "pnpm prepack && pnpm lint && pnpm type-check && pnpx publint@latest && pnpx @arethetypeswrong/cli@latest --pack --profile esm-only",
36
- "release": "pnpm test && changelogen --release --push --publish && changelogen gh release"
36
+ "release": "pnpm test && changelogen --release --push --publish"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "eslint": ">=9",
@@ -41,7 +41,8 @@
41
41
  },
42
42
  "dependencies": {
43
43
  "@sxzz/eslint-config": "^5.3.0",
44
- "eslint-flat-config-utils": "^2.0.1"
44
+ "eslint-flat-config-utils": "^2.0.1",
45
+ "eslint-plugin-erasable-syntax-only": "^0.3.0"
45
46
  },
46
47
  "devDependencies": {
47
48
  "@tsconfig/node22": "^22.0.0",