@foray1010/prettier-config 7.0.1 → 7.0.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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [7.0.2](https://github.com/foray1010/common-presets/compare/@foray1010/prettier-config@7.0.1...@foray1010/prettier-config@7.0.2) (2022-08-24)
7
+
8
+ ### Bug Fixes
9
+
10
+ - remove unused ignore patterns ([11d05bf](https://github.com/foray1010/common-presets/commit/11d05bf3e7cb001d1260f885089500e1ddf5fb02))
11
+
6
12
  ## [7.0.1](https://github.com/foray1010/common-presets/compare/@foray1010/prettier-config@7.0.0...@foray1010/prettier-config@7.0.1) (2022-06-13)
7
13
 
8
14
  ### Bug Fixes
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  1. `yarn add -DE prettier @foray1010/prettier-config`
6
6
 
7
- 1. Create an `.prettierrc.js` in the project root
7
+ 1. Create an `.prettierrc.cjs` in the project root
8
8
 
9
9
  ```js
10
10
  'use strict'
package/index.js CHANGED
@@ -1,6 +1,10 @@
1
1
  'use strict'
2
2
 
3
+ /** @type {import('prettier').Config} */
3
4
  module.exports = {
5
+ pluginSearchDirs: false,
6
+ plugins: ['prettier-plugin-packagejson'],
7
+
4
8
  arrowParens: 'always',
5
9
  bracketSameLine: false,
6
10
  bracketSpacing: true,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@foray1010/prettier-config",
4
- "version": "7.0.1",
4
+ "version": "7.0.2",
5
5
  "homepage": "https://github.com/foray1010/common-presets/tree/master/packages/prettier-config#readme",
6
6
  "bugs": "https://github.com/foray1010/common-presets/issues",
7
7
  "repository": {
@@ -16,9 +16,16 @@
16
16
  "*.md",
17
17
  "prettierignore"
18
18
  ],
19
+ "scripts": {
20
+ "type:check": "tsc"
21
+ },
19
22
  "dependencies": {
20
23
  "prettier-plugin-packagejson": "^2.2.5"
21
24
  },
25
+ "devDependencies": {
26
+ "@types/prettier": "2.7.0",
27
+ "typescript": "4.7.4"
28
+ },
22
29
  "peerDependencies": {
23
30
  "prettier": "^2.4.0"
24
31
  },
@@ -28,5 +35,5 @@
28
35
  "publishConfig": {
29
36
  "access": "public"
30
37
  },
31
- "gitHead": "162f905054a12ba6777eb746f2f440a68876463c"
38
+ "gitHead": "4558b3b10e979f052739e103aef0aad62f3e637b"
32
39
  }
package/prettierignore CHANGED
@@ -3,6 +3,5 @@ build/
3
3
  coverage/
4
4
  dist/
5
5
  node_modules/
6
- out/
7
6
  # do not format auto-generated files
8
7
  pnpm-lock.yaml
package/tsconfig.json ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "extends": "@foray1010/tsconfig",
4
+ "compilerOptions": {
5
+ "allowJs": true,
6
+ "checkJs": true
7
+ }
8
+ }