Skip to content

Commit

Permalink
Merge pull request #3 from tolgee/stepangranat/fix-no-console
Browse files Browse the repository at this point in the history
  • Loading branch information
stepan662 authored Mar 19, 2024
2 parents ef6d671 + 0357df5 commit bfd9ff2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
'warn',
{ allowConstantExport: true },
],
'@typescript-eslint/no-explicit-any': "off"
'@typescript-eslint/no-explicit-any': "off",
'no-console': 'error'
},
}
1 change: 0 additions & 1 deletion src/parser/PlaceholderPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ export const PlaceholderPlugin = (options: Options) => {
const placeholder = placeholders.find(({ position }) => {
return pos === position.start && side > 0;
});
console.log(placeholder);
if (!placeholder) {
return null;
}
Expand Down
1 change: 0 additions & 1 deletion src/parser/placeholders/getPlaceholders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ export const getPlaceholders = (input: string, nested?: boolean) => {
case Text:
case TextNested: {
findTags(getNodeText(node)).forEach((tagInfo) => {
console.log(getNodeText(node), tagInfo.position);
return addPlaceholder(
placeholderFromTag({
...tagInfo,
Expand Down

0 comments on commit bfd9ff2

Please sign in to comment.