No pom.xml
, adicione as seguintes dependências:
<!-- JSP-->
<dependency>
org.apache.tomcat.embed
/******************************************************************************* | |
* Copyright 2022 Paulo Torrens * | |
* * | |
* Permission is hereby granted, free of charge, to any person obtaining a copy * | |
* of this software and associated documentation files (the "Software"), to * | |
* deal in the Software without restriction, including without limitation the * | |
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or * | |
* sell copies of the Software, and to permit persons to whom the Software is * | |
* furnished to do so, subject to the following conditions: * | |
* * |
var linkedinhoAutoInviter = class { | |
constructor(maxInvites, actionDelay, pageDelay, ScrollDelay) { | |
this.pageButtons = []; | |
this.alreadyInvited = 0; | |
this.maxInvites = maxInvites; | |
this.actionDelay = actionDelay; | |
this.pageDelay = pageDelay; |
Basically, when using Prettier, all ESLint styling rules should be disabled.
This can be done with eslint-config-prettier.
See .eslintrc.js
example below.
In prettier.config.js
you can use anything you want (see example below).
Now the tricky part is how to run them...
Usually ESLint should run first, then Prettier.
import React, { useState } from 'react'; | |
import axios from 'axios'; | |
export default function Lista () { | |
const [cep, setCep] = useState({ cep: '' }); | |
const [informacoes, setInformacoes] = useState({ | |
cep: '', | |
logradouro: '', | |
complemento: '', |
{"lastUpload":"2020-03-06T12:31:17.554Z","extensionVersion":"v3.4.3"} |
{ | |
"workbench.startupEditor": "newUntitledFile", | |
"editor.fontSize": 14, | |
"editor.lineHeight": 1.8, | |
"javascript.suggest.autoImports": true, | |
"javascript.updateImportsOnFileMove.enabled": "always", | |
"editor.rulers": [80, 120], | |
"extensions.ignoreRecommendations": true, | |
"typescript.tsserver.log": "off", | |
"files.associations": { |
{ | |
"eslint.autoFixOnSave": true, | |
"eslint.validate": [ | |
{ | |
"language": "vue", | |
"autoFix": true | |
}, | |
{ | |
"language": "html", | |
"autoFix": true |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Pesquisa CEP</title> | |
</head> | |
<body> |