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, "semi": true,
"singleQuote": true, "singleQuote": true,
"tabWidth": 2, "tabWidth": 2,

View File

@ -25,9 +25,7 @@
> >
<polyline points="23 4 23 10 17 10"></polyline> <polyline points="23 4 23 10 17 10"></polyline>
<polyline points="1 20 1 14 7 14"></polyline> <polyline points="1 20 1 14 7 14"></polyline>
<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>
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> </svg>
</button> </button>
</div> </div>

View File

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

View File

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

View File

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