projecte_ionic/node_modules/@angular-devkit/schematics/tasks/tslint-fix/test/run-task.js
2022-02-09 18:30:03 +01:00

23 lines
705 B
JavaScript
Executable file

"use strict";
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
Object.defineProperty(exports, "__esModule", { value: true });
const tasks_1 = require("@angular-devkit/schematics/tasks"); // eslint-disable-line import/no-extraneous-dependencies
function default_1() {
return (_, context) => {
context.addTask(new tasks_1.TslintFixTask({
rules: {
'max-line-length': [true, 80],
},
}, {
includes: '*.ts',
silent: false,
}));
};
}
exports.default = default_1;