chore: set print width to 100

This commit is contained in:
wanhose 2022-05-06 12:20:41 +02:00
parent c380e942c3
commit 18391fae2f
5 changed files with 6 additions and 16 deletions

View File

@ -1,4 +1,5 @@
{
"printWidth": 100,
"semi": true,
"singleQuote": true,
"tabWidth": 2,

View File

@ -25,9 +25,7 @@
>
<polyline points="23 4 23 10 17 10"></polyline>
<polyline points="1 20 1 14 7 14"></polyline>
<path
d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"
></path>
<path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"></path>
</svg>
</button>
</div>

View File

@ -4,8 +4,7 @@
* @type {string}
*/
const chromeUrl =
'https://chrome.google.com/webstore/detail/djcbfpkdhdkaflcigibkbpboflaplabg';
const chromeUrl = 'https://chrome.google.com/webstore/detail/djcbfpkdhdkaflcigibkbpboflaplabg';
/**
* @constant dispatch
@ -21,8 +20,7 @@ const dispatch = chrome.runtime.sendMessage;
* @type {string}
*/
const firefoxUrl =
'https://addons.mozilla.org/es/firefox/addon/cookie-dialog-monster/';
const firefoxUrl = 'https://addons.mozilla.org/es/firefox/addon/cookie-dialog-monster/';
/**
* @constant isChromium

View File

@ -4,10 +4,7 @@
"jest": true,
"node": true
},
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"extends": ["plugin:@typescript-eslint/recommended", "plugin:prettier/recommended"],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"

View File

@ -7,11 +7,7 @@ type PostReportBody = {
to: string;
};
export default (
server: FastifyInstance,
options: RouteShorthandOptions,
done: () => void
) => {
export default (server: FastifyInstance, options: RouteShorthandOptions, done: () => void) => {
server.post<{ Body: PostReportBody }>(
'/report/',
{