isaacscript 2.0.3 → 2.0.4

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/.prettierrc.js CHANGED
@@ -1,9 +1,10 @@
1
1
  // This is the configuration file for Prettier, the auto-formatter:
2
2
  // https://prettier.io/docs/en/configuration.html
3
3
  module.exports = {
4
+ // Always print trailing commas:
4
5
  // https://prettier.io/docs/en/options.html#trailing-commas
5
- // The default is "es5" - Trailing commas where valid in ES5 (objects, arrays, etc.)
6
- // However, always having trailing commas is objectively better. The Airbnb style guide agrees:
6
+ // The default is "es5" - Trailing commas where valid in ES5 (objects, arrays, etc.). However,
7
+ // always having trailing commas is objectively better. The Airbnb style guide agrees:
7
8
  // https://github.com/airbnb/javascript#commas--dangling
8
9
  // Prettier itself also acknowledges Nik Graf's blog in their official blog:
9
10
  // https://prettier.io/blog/2020/03/21/2.0.0.html
@@ -25,10 +26,17 @@ module.exports = {
25
26
  quoteProps: "preserve",
26
27
  },
27
28
  },
29
+ {
30
+ files: ["**/*.xml"],
31
+ options: {
32
+ printWidth: 1000000,
33
+ },
34
+ },
28
35
  ],
29
36
 
37
+ // Allow proper formatting of XML files:
30
38
  // https://github.com/prettier/plugin-xml#configuration
31
- // The default is "struct".
32
- // Whitespace cannot be reformatted unless this is set to "ignore".
39
+ // The default is "struct". However, whitespace cannot be reformatted unless this is set to
40
+ // "ignore".
33
41
  xmlWhitespaceSensitivity: "ignore",
34
42
  };
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "A command line tool for managing Isaac mods written in TypeScript",
5
5
  "homepage": "https://isaacscript.github.io/",
6
6
  "bugs": {
@@ -45,6 +45,6 @@
45
45
  "@types/source-map-support": "^0.5.4",
46
46
  "@types/update-notifier": "^5.1.0",
47
47
  "@types/yargs": "^17.0.10",
48
- "isaacscript-lint": "^1.0.140"
48
+ "isaacscript-lint": "^1.0.141"
49
49
  }
50
50
  }
@@ -1,9 +1,10 @@
1
1
  // This is the configuration file for Prettier, the auto-formatter:
2
2
  // https://prettier.io/docs/en/configuration.html
3
3
  module.exports = {
4
+ // Always print trailing commas:
4
5
  // https://prettier.io/docs/en/options.html#trailing-commas
5
- // The default is "es5" - Trailing commas where valid in ES5 (objects, arrays, etc.)
6
- // However, always having trailing commas is objectively better. The Airbnb style guide agrees:
6
+ // The default is "es5" - Trailing commas where valid in ES5 (objects, arrays, etc.). However,
7
+ // always having trailing commas is objectively better. The Airbnb style guide agrees:
7
8
  // https://github.com/airbnb/javascript#commas--dangling
8
9
  // Prettier itself also acknowledges Nik Graf's blog in their official blog:
9
10
  // https://prettier.io/blog/2020/03/21/2.0.0.html
@@ -25,10 +26,17 @@ module.exports = {
25
26
  quoteProps: "preserve",
26
27
  },
27
28
  },
29
+ {
30
+ files: ["**/*.xml"],
31
+ options: {
32
+ printWidth: 1000000,
33
+ },
34
+ },
28
35
  ],
29
36
 
37
+ // Allow proper formatting of XML files:
30
38
  // https://github.com/prettier/plugin-xml#configuration
31
- // The default is "struct".
32
- // Whitespace cannot be reformatted unless this is set to "ignore".
39
+ // The default is "struct". However, whitespace cannot be reformatted unless this is set to
40
+ // "ignore".
33
41
  xmlWhitespaceSensitivity: "ignore",
34
42
  };
@@ -1,9 +1,10 @@
1
1
  // This is the configuration file for Prettier, the auto-formatter:
2
2
  // https://prettier.io/docs/en/configuration.html
3
3
  module.exports = {
4
+ // Always print trailing commas:
4
5
  // https://prettier.io/docs/en/options.html#trailing-commas
5
- // The default is "es5" - Trailing commas where valid in ES5 (objects, arrays, etc.)
6
- // However, always having trailing commas is objectively better. The Airbnb style guide agrees:
6
+ // The default is "es5" - Trailing commas where valid in ES5 (objects, arrays, etc.). However,
7
+ // always having trailing commas is objectively better. The Airbnb style guide agrees:
7
8
  // https://github.com/airbnb/javascript#commas--dangling
8
9
  // Prettier itself also acknowledges Nik Graf's blog in their official blog:
9
10
  // https://prettier.io/blog/2020/03/21/2.0.0.html
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "A command line tool for managing Isaac mods written in TypeScript",
5
5
  "homepage": "https://isaacscript.github.io/",
6
6
  "bugs": {
@@ -45,6 +45,6 @@
45
45
  "@types/source-map-support": "^0.5.4",
46
46
  "@types/update-notifier": "^5.1.0",
47
47
  "@types/yargs": "^17.0.10",
48
- "isaacscript-lint": "^1.0.140"
48
+ "isaacscript-lint": "^1.0.141"
49
49
  }
50
50
  }