@anolilab/prettier-config 2.0.4 → 2.0.5

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,3 +1,10 @@
1
+ ### @anolilab/prettier-config [2.0.5](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/prettier-config@2.0.4...@anolilab/prettier-config@2.0.5) (2021-12-30)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * changed file to cjs ([a75b530](https://github.com/anolilab/javascript-style-guide/commit/a75b530461d6007464e290f8c6d1149630d8a03b))
7
+
1
8
  ### @anolilab/prettier-config [2.0.4](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/prettier-config@2.0.3...@anolilab/prettier-config@2.0.4) (2021-09-02)
2
9
 
3
10
 
@@ -1,4 +1,4 @@
1
- export default {
1
+ module.exports = {
2
2
  // max 120 characters per line
3
3
  printWidth: 120,
4
4
  // use 2 spaces for indentation
@@ -17,8 +17,6 @@ export default {
17
17
  trailingComma: "all",
18
18
  // spaces are required at the beginning and end of the braces
19
19
  bracketSpacing: true,
20
- // end tag of jsx need to wrap
21
- jsxBracketSameLine: false,
22
20
  // brackets are required for arrow function parameter, even when there is only one parameter
23
21
  arrowParens: "always",
24
22
  // format the entire contents of the file
@@ -7,7 +7,7 @@ if (process.env.CI) {
7
7
  import { writeFile, existsSync } from 'fs';
8
8
  import { resolve, join } from 'path';
9
9
  import { promisify } from 'util';
10
- import content from '../index.js';
10
+ import content from '../index.cjs';
11
11
 
12
12
  const writeFileAsync = promisify(writeFile);
13
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anolilab/prettier-config",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "description": "Prettier shareable config for Anolilab.",
5
5
  "keywords": [
6
6
  "css",
@@ -32,10 +32,10 @@
32
32
  "email": "d.bannert@anolilab.de"
33
33
  },
34
34
  "type": "module",
35
- "main": "index.js",
35
+ "main": "index.cjs",
36
36
  "files": [
37
37
  "lib",
38
- "index.js",
38
+ "index.cjs",
39
39
  "README.md",
40
40
  "CHANGELOG.md",
41
41
  "LICENSE.md"