mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
cleanup ignore lint errors: no-consecutive-blank-lines, trim-file
This commit is contained in:
1
types/nunjucks/index.d.ts
vendored
1
types/nunjucks/index.d.ts
vendored
@@ -3,7 +3,6 @@
|
||||
// Definitions by: Ruben Slabbert <https://github.com/RubenSlabbert>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
|
||||
declare namespace Nunjucks {
|
||||
function render(name: string, context?: Object): string;
|
||||
function render(name: string, context?: Object, callback?: (err: any, res: string) => any): void;
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
|
||||
import nunjucks = require("nunjucks");
|
||||
|
||||
|
||||
nunjucks.configure({ autoescape: false });
|
||||
|
||||
let rendered = nunjucks.render("./noexists.html");
|
||||
|
||||
@@ -5,10 +5,8 @@
|
||||
"dt-header": false,
|
||||
"export-just-namespace": false,
|
||||
"interface-name": false,
|
||||
"no-consecutive-blank-lines": false,
|
||||
"prefer-const": false,
|
||||
"strict-export-declare-modifiers": false,
|
||||
"trim-file": false,
|
||||
"unified-signatures": false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user