aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUri Shaked2020-04-27 21:53:54 +0300
committerUri Shaked2020-04-27 21:57:13 +0300
commit38be328a977c80f539eba7866589664a6787a9c1 (patch)
tree6de66f862f4ec5a5856d31c01692c9ce06dd3628
parentfix(timer): Timer value should not increment on the same cycle as TCNTn write (diff)
downloadavr8js-38be328a977c80f539eba7866589664a6787a9c1.tar.gz
avr8js-38be328a977c80f539eba7866589664a6787a9c1.tar.bz2
avr8js-38be328a977c80f539eba7866589664a6787a9c1.zip
chore(deps): prettier 2.0
also update: - eslint-config-prettier - eslint-plugin-prettier
-rw-r--r--package-lock.json18
-rw-r--r--package.json6
-rw-r--r--prettier.config.js3
3 files changed, 14 insertions, 13 deletions
diff --git a/package-lock.json b/package-lock.json
index 215d02d..130ad37 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -4533,9 +4533,9 @@
}
},
"eslint-config-prettier": {
- "version": "6.7.0",
- "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.7.0.tgz",
- "integrity": "sha512-FamQVKM3jjUVwhG4hEMnbtsq7xOIDm+SY5iBPfR8gKsJoAB2IQnNF+bk1+8Fy44Nq7PPJaLvkRxILYdJWoguKQ==",
+ "version": "6.11.0",
+ "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.11.0.tgz",
+ "integrity": "sha512-oB8cpLWSAjOVFEJhhyMZh6NOEOtBVziaqdDQ86+qhDHFbZXoRTM7pNSvFRfW/W/L/LrQ38C99J5CGuRBBzBsdA==",
"dev": true,
"requires": {
"get-stdin": "^6.0.0"
@@ -4569,9 +4569,9 @@
}
},
"eslint-plugin-prettier": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.1.1.tgz",
- "integrity": "sha512-A+TZuHZ0KU0cnn56/9mfR7/KjUJ9QNVXUhwvRFSR7PGPe0zQR6PTkmyqg1AtUUEOzTqeRsUwyKFh0oVZKVCrtA==",
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.1.3.tgz",
+ "integrity": "sha512-+HG5jmu/dN3ZV3T6eCD7a4BlAySdN7mLIbJYo0z1cFQuI+r2DiTJEFeF68ots93PsnrMxbzIZ2S/ieX+mkrBeQ==",
"dev": true,
"requires": {
"prettier-linter-helpers": "^1.0.0"
@@ -11552,9 +11552,9 @@
"dev": true
},
"prettier": {
- "version": "1.19.1",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.19.1.tgz",
- "integrity": "sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==",
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.0.5.tgz",
+ "integrity": "sha512-7PtVymN48hGcO4fGjybyBSIWDsLU4H4XlvOHfq91pz9kkGlonzwTfYkaIEwiRg/dAJF9YlbsduBAgtYLi+8cFg==",
"dev": true
},
"prettier-linter-helpers": {
diff --git a/package.json b/package.json
index 8740f91..599d54a 100644
--- a/package.json
+++ b/package.json
@@ -30,15 +30,15 @@
"@wokwi/elements": "^0.1.1",
"acorn": "^7.1.1",
"eslint": "^6.7.2",
- "eslint-config-prettier": "^6.7.0",
+ "eslint-config-prettier": "^6.11.0",
"eslint-plugin-jest": "^23.1.1",
"eslint-plugin-json": "^2.0.1",
- "eslint-plugin-prettier": "^3.1.1",
+ "eslint-plugin-prettier": "^3.1.3",
"husky": "^3.0.9",
"jest": "^25.3.0",
"lint-staged": "^9.4.2",
"parcel-bundler": "^1.12.4",
- "prettier": "^1.19.1",
+ "prettier": "^2.0.0",
"rimraf": "^3.0.0",
"ts-jest": "^25.3.1",
"ts-node": "^8.5.0",
diff --git a/prettier.config.js b/prettier.config.js
index 98476bb..5adb24c 100644
--- a/prettier.config.js
+++ b/prettier.config.js
@@ -2,5 +2,6 @@ module.exports = {
arrowParens: 'always',
printWidth: 100,
singleQuote: true,
- tabWidth: 2
+ tabWidth: 2,
+ endOfLine: 'auto',
};
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.