No pom.xml, adicione as seguintes dependências:
<!-- JSP-->
<dependency>
org.apache.tomcat.embed| { | |
| "title": "Knowledge Framework for Senior-to-Staff Engineer+ Roles", | |
| "overview": "This is the definitive, complete, and non-negotiable body of knowledge required for true Staff Engineer and Principal-level roles. Every topic has been significantly augmented with deeper strategic depth, elevated language reflecting org-wide leadership impact, expanded key_competencies (now 5 per topic), and a new consistent field 'org_impact' that explicitly articulates the business and platform-level outcomes expected at this level. The framework is now fully self-contained, exhaustive, and calibrated for large-scale, AI-augmented, globally distributed systems where Staff+ engineers set the technical bar across the entire organization.", | |
| "requirements": [ | |
| { | |
| "topic": "SOLID + GRASP", | |
| "key_focus": "true responsibility assignment at scale", | |
| "staff_level_mastery": "At Staff+ level, engineers demonstrate instinctive, org-wide mastery of SOLID principles (SRP, OCP, LSP, ISP, DIP) combined with all nine |
| # Usar imagem base com GCC pré-instalado | |
| FROM n0madic/alpine-gcc:9.2.0 | |
| # Criar diretório de trabalho | |
| WORKDIR /app | |
| # Copiar o código-fonte para o container | |
| COPY . . | |
| # Compilar o programa |
| /******************************************************************************* | |
| * 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; |
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
| <profiles version="23"> | |
| <profile kind="CodeFormatterProfile" name="MyFormatter" version="23"> | |
| <setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert"/> | |
| <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations" value="insert"/> | |
| <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression" value="do not insert"/> | |
| <setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_for_statment" value="common_lines"/> | |
| <setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries" value="true"/> | |
| <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters" value="insert"/> | |
| <setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter" value="do not insert"/> |
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"} |