@w5s/prettier-config 2.2.0 → 2.2.2

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
@@ -3,7 +3,7 @@
3
3
  // src/index.ts
4
4
  var prettierConfig = {
5
5
  singleQuote: true,
6
- trailingCommas: "always",
6
+ trailingComma: "all",
7
7
  overrides: [
8
8
  {
9
9
  files: ["*.css", "*.scss"],
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;AAEA,IAAM,cAAyB,GAAA;AAAA,EAC7B,WAAa,EAAA,IAAA;AAAA,EACb,cAAgB,EAAA,QAAA;AAAA,EAChB,SAAW,EAAA;AAAA,IACT;AAAA,MACE,KAAA,EAAO,CAAC,OAAA,EAAS,QAAQ,CAAA;AAAA,MACzB,OAAS,EAAA;AAAA,QACP,aAAe,EAAA,MAAA;AAAA,OACjB;AAAA,KACF;AAAA,GACF;AACF,CAAA,CAAA;AAGA,IAAO,WAAQ,GAAA","file":"index.cjs","sourcesContent":["import type { Config } from 'prettier';\n\nconst prettierConfig: Config = {\n singleQuote: true,\n trailingCommas: 'always',\n overrides: [\n {\n files: ['*.css', '*.scss'],\n options: {\n trailingComma: 'none',\n },\n },\n ],\n};\n\n// eslint-disable-next-line import/no-default-export\nexport default prettierConfig;\n"]}
1
+ {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;AAEA,IAAM,cAAyB,GAAA;AAAA,EAC7B,WAAa,EAAA,IAAA;AAAA,EACb,aAAe,EAAA,KAAA;AAAA,EACf,SAAW,EAAA;AAAA,IACT;AAAA,MACE,KAAA,EAAO,CAAC,OAAA,EAAS,QAAQ,CAAA;AAAA,MACzB,OAAS,EAAA;AAAA,QACP,aAAe,EAAA,MAAA;AAAA,OACjB;AAAA,KACF;AAAA,GACF;AACF,CAAA,CAAA;AAGA,IAAO,WAAQ,GAAA","file":"index.cjs","sourcesContent":["import type { Config } from 'prettier';\n\nconst prettierConfig: Config = {\n singleQuote: true,\n trailingComma: 'all',\n overrides: [\n {\n files: ['*.css', '*.scss'],\n options: {\n trailingComma: 'none',\n },\n },\n ],\n};\n\n// eslint-disable-next-line import/no-default-export\nexport default prettierConfig;\n"]}
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // src/index.ts
2
2
  var prettierConfig = {
3
3
  singleQuote: true,
4
- trailingCommas: "always",
4
+ trailingComma: "all",
5
5
  overrides: [
6
6
  {
7
7
  files: ["*.css", "*.scss"],
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";AAEA,IAAM,cAAyB,GAAA;AAAA,EAC7B,WAAa,EAAA,IAAA;AAAA,EACb,cAAgB,EAAA,QAAA;AAAA,EAChB,SAAW,EAAA;AAAA,IACT;AAAA,MACE,KAAA,EAAO,CAAC,OAAA,EAAS,QAAQ,CAAA;AAAA,MACzB,OAAS,EAAA;AAAA,QACP,aAAe,EAAA,MAAA;AAAA,OACjB;AAAA,KACF;AAAA,GACF;AACF,CAAA,CAAA;AAGA,IAAO,WAAQ,GAAA","file":"index.js","sourcesContent":["import type { Config } from 'prettier';\n\nconst prettierConfig: Config = {\n singleQuote: true,\n trailingCommas: 'always',\n overrides: [\n {\n files: ['*.css', '*.scss'],\n options: {\n trailingComma: 'none',\n },\n },\n ],\n};\n\n// eslint-disable-next-line import/no-default-export\nexport default prettierConfig;\n"]}
1
+ {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";AAEA,IAAM,cAAyB,GAAA;AAAA,EAC7B,WAAa,EAAA,IAAA;AAAA,EACb,aAAe,EAAA,KAAA;AAAA,EACf,SAAW,EAAA;AAAA,IACT;AAAA,MACE,KAAA,EAAO,CAAC,OAAA,EAAS,QAAQ,CAAA;AAAA,MACzB,OAAS,EAAA;AAAA,QACP,aAAe,EAAA,MAAA;AAAA,OACjB;AAAA,KACF;AAAA,GACF;AACF,CAAA,CAAA;AAGA,IAAO,WAAQ,GAAA","file":"index.js","sourcesContent":["import type { Config } from 'prettier';\n\nconst prettierConfig: Config = {\n singleQuote: true,\n trailingComma: 'all',\n overrides: [\n {\n files: ['*.css', '*.scss'],\n options: {\n trailingComma: 'none',\n },\n },\n ],\n};\n\n// eslint-disable-next-line import/no-default-export\nexport default prettierConfig;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/prettier-config",
3
- "version": "2.2.0",
3
+ "version": "2.2.2",
4
4
  "description": "Prettier shared configuration",
5
5
  "keywords": [
6
6
  "typescript",
@@ -59,5 +59,5 @@
59
59
  "access": "public"
60
60
  },
61
61
  "sideEffect": false,
62
- "gitHead": "98a230292696150554b89e419fcd0ca4a3f5763f"
62
+ "gitHead": "6021702d3355d02293fc6f7fb1c1fce2ece1951f"
63
63
  }
package/src/index.ts CHANGED
@@ -2,7 +2,7 @@ import type { Config } from 'prettier';
2
2
 
3
3
  const prettierConfig: Config = {
4
4
  singleQuote: true,
5
- trailingCommas: 'always',
5
+ trailingComma: 'all',
6
6
  overrides: [
7
7
  {
8
8
  files: ['*.css', '*.scss'],