-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Yarn lint script #1012
base: master
Are you sure you want to change the base?
fix: Yarn lint script #1012
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hay cambios que no me convencen del todo. Como tenemos algo delicado entre manos, retrasaría la fusión de esto a cuando estemos más tranquilo, por ejemplo tras la fusión de lo que estamos finalizando de ck5.
packages/devkit/src/mathml.js
Outdated
@@ -201,7 +201,7 @@ export default class MathML { | |||
// Otherwise without the space | |||
if (mathml.indexOf(` class="wrs_${customEditor}"`) !== -1) { | |||
return mathml.replace(` class="wrs_${customEditor}"`, ""); | |||
} else if (mathml.indexOf(`class="wrs_${customEditor}"`) !== -1) { | |||
} if (mathml.indexOf(`class="wrs_${customEditor}"`) !== -1) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Este cambio no me inspira confianza (el código original tampoco, sinceramente). Revisemos que no estamos rompiendo nada.
@@ -1,4 +1,4 @@ | |||
import init, { Telemeter as TelemeterWASM } from "../telemeter-wasm"; | |||
import init, { Telemeter as TelemeterWASM } from "@wiris/telemeter-wasm"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Este cambio de import tampoco me inspira confianza. No sabía que el linter podía hacer algo tan "inteligente".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Juraría que este fichero es autogenerado, no me siento cómo cambiando nada del mismo aunque sean solo cosas de formato.
Description
This PR adds the broken functionality to
yarn lint
and also autofixes all posible errorsType of Change
Checklist
yarn lint
to check)How should be tested? (Manual or Automated Tests)