@theholocron/prettier-config 3.2.1 → 3.4.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/CHANGELOG.md +31 -0
- package/index.js +0 -2
- package/package.json +3 -6
- package/prettier.config.js +30 -0
- package/prettier.config.json +0 -11
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# @theholocron/prettier-config
|
|
2
|
+
|
|
3
|
+
## 3.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`30e50b0`](https://github.com/theholocron/configs/commit/30e50b000dd1f9ac61e3ad1c3abee2ab3a52e7ac) Thanks [@iamnewton](https://github.com/iamnewton)! - Add in stylelint
|
|
8
|
+
|
|
9
|
+
## 3.2.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`3d54f12`](https://github.com/theholocron/configs/commit/3d54f12618e8a6cc6ccc4559eb48ef402bb04d77) Thanks [@iamnewton](https://github.com/iamnewton)! - Fix the storybook config; its missing the index file from the export
|
|
14
|
+
|
|
15
|
+
## 3.2.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- [`46d40c1`](https://github.com/theholocron/configs/commit/46d40c17d963b3c81fd6fdf308da4228112f5fe4) Thanks [@iamnewton](https://github.com/iamnewton)! - Add more to eslint-config, add in storybook-config
|
|
20
|
+
|
|
21
|
+
## 3.1.0
|
|
22
|
+
|
|
23
|
+
### Minor Changes
|
|
24
|
+
|
|
25
|
+
- [`4f8154a`](https://github.com/theholocron/configs/commit/4f8154a534d5d7668cd2659da322448f39646aed) Thanks [@iamnewton](https://github.com/iamnewton)! - Update to include Alex language linting in lint-staging
|
|
26
|
+
|
|
27
|
+
## 3.0.0
|
|
28
|
+
|
|
29
|
+
### Major Changes
|
|
30
|
+
|
|
31
|
+
- [`88d7f99`](https://github.com/theholocron/configs/commit/88d7f995dd02cdbe63817ac0d13905d5aea3777a) Thanks [@iamnewton](https://github.com/iamnewton)! - Initial release
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/prettier-config",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"description": "A Prettier configuration for formatting libraries in the Galaxy.",
|
|
5
5
|
"homepage": "https://github.com/theholocron/configs/tree/main/packages/prettier-config#readme",
|
|
6
6
|
"bugs": "https://github.com/theholocron/configs/issues",
|
|
@@ -10,11 +10,8 @@
|
|
|
10
10
|
},
|
|
11
11
|
"license": "GPL-3.0",
|
|
12
12
|
"author": "Newton Koumantzelis",
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"prettier.config.json",
|
|
16
|
-
"index.js"
|
|
17
|
-
],
|
|
13
|
+
"type": "module",
|
|
14
|
+
"main": "prettier.config.json",
|
|
18
15
|
"dependencies": {
|
|
19
16
|
"prettier": "^3.3.3"
|
|
20
17
|
},
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @see https://prettier.io/docs/en/configuration.html
|
|
3
|
+
* @type {import("prettier").Config}
|
|
4
|
+
*/
|
|
5
|
+
const config = {
|
|
6
|
+
arrowParens: "always",
|
|
7
|
+
bracketSameLine: false,
|
|
8
|
+
bracketSpacing: true,
|
|
9
|
+
experimentalTernaries: false,
|
|
10
|
+
jsxBracketSameLine: false,
|
|
11
|
+
jsxSingleQuote: false,
|
|
12
|
+
quoteProps: "all",
|
|
13
|
+
printWidth: 120,
|
|
14
|
+
semi: true,
|
|
15
|
+
singleQuote: false,
|
|
16
|
+
tabWidth: 4,
|
|
17
|
+
trailingComma: "es5",
|
|
18
|
+
useTabs: true,
|
|
19
|
+
overrides: [
|
|
20
|
+
{
|
|
21
|
+
files: ["*.json", "*.yml", "*.yaml"],
|
|
22
|
+
options: {
|
|
23
|
+
tabWidth: 2,
|
|
24
|
+
useTabs: false,
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export default config;
|