@madgex/prettier-config-madgex 1.2.1 → 2.0.1

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
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.0.1](https://github.com/wiley/madgex-eslint-config-madgex/compare/@madgex/prettier-config-madgex@2.0.0...@madgex/prettier-config-madgex@2.0.1) (2026-02-12)
7
+
8
+ ### Bug Fixes
9
+
10
+ - package dependancies lock major ([3a78107](https://github.com/wiley/madgex-eslint-config-madgex/commit/3a78107b7628713a4a1efac55e2f57a602e4445a))
11
+
12
+ # [2.0.0](https://github.com/wiley/madgex-eslint-config-madgex/compare/@madgex/prettier-config-madgex@1.2.1...@madgex/prettier-config-madgex@2.0.0) (2024-04-18)
13
+
14
+ -fix: trailingComma:"all"
15
+
6
16
  ## <small>1.1.2 (2020-10-21)</small>
7
17
 
8
18
  - fix: revert printWidth ([479d57c](https://thegits/scm/int/eslint-config-madgex/commits/479d57c))
package/README.md CHANGED
@@ -12,18 +12,13 @@ npm install @madgex/prettier-config-madgex -save-dev
12
12
 
13
13
  Add in your `package.json`:
14
14
 
15
- ```json
16
- {
17
- ...
18
- "prettier": "@madgex/prettier-config-madgex"
19
- }
20
- ```
21
-
22
- If you want overwrite some properties, you need import the file in a `.prettierrc.js` file and export the modifications:
15
+ ```js
16
+ // .prettierrc.cjs
17
+ const configMadgex = require('@madgex/prettier-config-madgex');
23
18
 
24
- ```javascript
25
19
  module.exports = {
26
- ...require('@madgex/prettier-config-madgex'),
27
- semi: false,
20
+ ...configMadgex,
21
+ // if absolutely necessary, add overrides
22
+ // semi: false,
28
23
  };
29
24
  ```
package/index.js CHANGED
@@ -3,7 +3,7 @@ module.exports = {
3
3
  tabWidth: 2,
4
4
  printWidth: 120,
5
5
  singleQuote: true,
6
- trailingComma: 'es5',
6
+ trailingComma: 'all',
7
7
  bracketSpacing: true,
8
8
  arrowParens: 'always',
9
9
  endOfLine: 'auto',
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@madgex/prettier-config-madgex",
3
- "version": "1.2.1",
3
+ "version": "2.0.1",
4
4
  "description": "Prettier rules related to Madgex projects",
5
+ "type": "commonjs",
5
6
  "main": "index.js",
6
7
  "scripts": {
7
- "build": "echo 'build is not required' || exit 0",
8
- "test": "echo \"Error: no test specified\" && exit 1"
8
+ "build": "echo 'build is not required' || exit 0"
9
9
  },
10
10
  "files": [
11
11
  "README.md",
@@ -16,9 +16,7 @@
16
16
  "author": "James Wragg <james.wragg@madgex.com> (https://madgex.com/)",
17
17
  "license": "MIT",
18
18
  "peerDependencies": {
19
- "eslint-config-prettier": "^7.2.0",
20
- "eslint-plugin-prettier": "^3.3.1",
21
- "prettier": "^2.2.1"
19
+ "prettier": "^3.8.1"
22
20
  },
23
- "gitHead": "ad06b58dfdd49fb6d66ac53fe0d8b58e63d8e871"
21
+ "gitHead": "0a2d2c26e7303483af175a958488648de0cd3696"
24
22
  }