@theholocron/lint-staged-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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @theholocron/lint-staged-config
2
2
 
3
+ ## 3.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`6dfd8d4`](https://github.com/theholocron/configs/commit/6dfd8d4b1a58459d35af4253db59402e500f92b0) Thanks [@iamnewton](https://github.com/iamnewton)! - Update prettier to use module
8
+
9
+ ## 3.3.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`30e50b0`](https://github.com/theholocron/configs/commit/30e50b000dd1f9ac61e3ad1c3abee2ab3a52e7ac) Thanks [@iamnewton](https://github.com/iamnewton)! - Add in stylelint
14
+
3
15
  ## 3.2.1
4
16
 
5
17
  ### Patch Changes
@@ -2,7 +2,7 @@
2
2
  * @see https://github.com/lint-staged/lint-staged?tab=readme-ov-file#configuration
3
3
  * @type {import("lint-staged").Config}
4
4
  */
5
- export default {
5
+ const config = {
6
6
  "*.css": "stylelint --fix",
7
7
  "*.{js,jsx}": ["prettier --write", "eslint"],
8
8
  "*.md": ["prettier --write"], // disabling alex --why because of https://github.com/get-alex/alex/issues/348
@@ -12,3 +12,5 @@ export default {
12
12
  "*.{ts,tsx}": ["prettier --write", "eslint", "tsc --noEmit --showConfig"],
13
13
  "package.json": "sort-package-json",
14
14
  };
15
+
16
+ export default config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/lint-staged-config",
3
- "version": "3.2.1",
3
+ "version": "3.4.0",
4
4
  "description": "A Lint Staged configuration for linting code that has been staged in Git within the Galaxy.",
5
5
  "homepage": "https://github.com/theholocron/configs/tree/main/packages/lint-staged-config#readme",
6
6
  "bugs": "https://github.com/theholocron/configs/issues",