Skip to content

Commit

Permalink
Feature: eslint disable in header. (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
Martynas Žilinskas committed Feb 27, 2020
1 parent 72e3f51 commit 9e8158c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typed-i18next",
"version": "0.1.0",
"version": "0.1.1",
"description": "Type-safe translations generator for i18next.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export async function generateTypesFile({
if (noEmitHeader) {
header = "";
} else {
header = `// DO NOT EDIT! This file is generated with "typed-18next" tool.\n\n`;
header = `/* eslint-disable */\n// DO NOT EDIT! This file is generated with "typed-18next" tool.\n\n`;
}

const typesFile = generateTypes(combinedKeys.translationKeys);
Expand Down

0 comments on commit 9e8158c

Please sign in to comment.