@wkovacs64/prettier-config 3.0.0 → 3.0.1

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/README.md CHANGED
@@ -8,7 +8,7 @@ This is my personal [Prettier][prettier] configuration.
8
8
  ### Install
9
9
 
10
10
  ```
11
- yarn add --dev prettier @wkovacs64/prettier-config
11
+ npm install --save-dev prettier @wkovacs64/prettier-config
12
12
  ```
13
13
 
14
14
  ### Usage
@@ -20,7 +20,6 @@ Follow the Prettier documentation on [sharing configurations][prettier-sharing].
20
20
  #### `prettier.config.js`
21
21
 
22
22
  ```js
23
- // eslint-disable-next-line import/no-extraneous-dependencies
24
23
  const prettierConfig = require('@wkovacs64/prettier-config');
25
24
 
26
25
  module.exports = {
@@ -35,6 +34,18 @@ module.exports = {
35
34
  package.json
36
35
  ```
37
36
 
37
+ #### `package.json`
38
+
39
+ ```
40
+ {
41
+ "scripts": {
42
+ ...
43
+ "format": "prettier --write .",
44
+ ...
45
+ }
46
+ }
47
+ ```
48
+
38
49
  [npm-image]:
39
50
  https://img.shields.io/npm/v/@wkovacs64/prettier-config.svg?style=flat-square
40
51
  [npm-url]: https://www.npmjs.com/package/@wkovacs64/prettier-config
package/index.js CHANGED
@@ -3,20 +3,22 @@ module.exports = {
3
3
 
4
4
  // defaults
5
5
  arrowParens: 'always',
6
+ bracketSameLine: false,
6
7
  bracketSpacing: true,
8
+ embeddedLanguageFormatting: 'auto',
7
9
  endOfLine: 'lf',
8
- jsxBracketSameLine: false,
9
- jsxSingleQuote: false,
10
10
  htmlWhitespaceSensitivity: 'css',
11
- rangeStart: 0,
12
- rangeEnd: Infinity,
13
- requirePragma: false,
14
11
  insertPragma: false,
12
+ jsxSingleQuote: false,
15
13
  printWidth: 80,
16
14
  quoteProps: 'as-needed',
15
+ rangeEnd: Infinity,
16
+ rangeStart: 0,
17
+ requirePragma: false,
17
18
  semi: true,
18
19
  tabWidth: 2,
19
20
  useTabs: false,
21
+ vueIndentScriptAndStyle: false,
20
22
 
21
23
  // customized
22
24
  proseWrap: 'always',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wkovacs64/prettier-config",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "@wKovacs64 Prettier config",
5
5
  "keywords": [
6
6
  "prettier",
@@ -26,8 +26,10 @@
26
26
  },
27
27
  "scripts": {
28
28
  "cm": "git-cz",
29
- "format": "prettier --write \"**/*.{js,ts,tsx,html,json,md,yml,yaml}\"",
30
- "lint": "eslint --ext \".js,.ts,.tsx\" .",
29
+ "format": "prettier --write .",
30
+ "lint": "eslint --ext \".js,.jsx,.ts,.tsx\" .",
31
+ "husky:install": "husky install",
32
+ "prepare": "npm run --silent husky:install",
31
33
  "validate": "npm-run-all --silent --parallel lint"
32
34
  },
33
35
  "config": {
@@ -44,17 +46,17 @@
44
46
  },
45
47
  "dependencies": {},
46
48
  "devDependencies": {
47
- "@commitlint/cli": "8.3.5",
48
- "@commitlint/config-conventional": "8.3.4",
49
- "commitizen": "4.0.4",
50
- "cross-env": "7.0.2",
51
- "cz-conventional-changelog": "3.1.0",
52
- "eslint": "6.8.0",
53
- "eslint-plugin-wkovacs64": "3.0.0",
54
- "husky": "4.2.5",
55
- "lint-staged": "10.1.3",
49
+ "@commitlint/cli": "16.2.3",
50
+ "@commitlint/config-conventional": "16.2.1",
51
+ "commitizen": "4.2.4",
52
+ "cross-env": "7.0.3",
53
+ "cz-conventional-changelog": "3.3.0",
54
+ "eslint": "7.32.0",
55
+ "eslint-plugin-wkovacs64": "13.12.0",
56
+ "husky": "7.0.4",
57
+ "lint-staged": "12.3.7",
56
58
  "npm-run-all": "4.1.5",
57
- "prettier": "2.0.4",
58
- "semantic-release": "17.0.4"
59
+ "prettier": "2.6.2",
60
+ "semantic-release": "19.0.2"
59
61
  }
60
62
  }
package/CHANGELOG.md DELETED
@@ -1,5 +0,0 @@
1
- # Change Log
2
-
3
- The changelog is automatically updated using
4
- [semantic-release](https://github.com/semantic-release/semantic-release). You
5
- can see it on the [releases page](../../releases).