eslint-config-decent 2.6.0-beta3 → 2.6.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/dist/index.cjs CHANGED
@@ -943,10 +943,7 @@ function tsEslintConfig(options) {
943
943
  extends: [tsEslint__default.configs.disableTypeChecked]
944
944
  },
945
945
  {
946
- name: "eslint-config-decent/prettier",
947
- plugins: {
948
- ...prettier__default.plugins
949
- },
946
+ ...prettier__default,
950
947
  rules: {
951
948
  ...prettier__default.rules,
952
949
  curly: ["error", "all"],
package/dist/index.mjs CHANGED
@@ -920,10 +920,7 @@ function tsEslintConfig(options) {
920
920
  extends: [tsEslint.configs.disableTypeChecked]
921
921
  },
922
922
  {
923
- name: "eslint-config-decent/prettier",
924
- plugins: {
925
- ...prettier.plugins
926
- },
923
+ ...prettier,
927
924
  rules: {
928
925
  ...prettier.rules,
929
926
  curly: ["error", "all"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-decent",
3
- "version": "2.6.0-beta3",
3
+ "version": "2.6.0",
4
4
  "description": "A decent ESLint configuration",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
package/src/index.ts CHANGED
@@ -217,10 +217,7 @@ export function tsEslintConfig(options?: DefaultConfigOptions): ConfigWithExtend
217
217
  extends: [tsEslint.configs.disableTypeChecked],
218
218
  },
219
219
  {
220
- name: 'eslint-config-decent/prettier',
221
- plugins: {
222
- ...prettier.plugins,
223
- },
220
+ ...prettier,
224
221
  rules: {
225
222
  ...prettier.rules,
226
223
  curly: ['error', 'all'],