{"id":16253738,"url":"https://github.com/annoraaq/tslint-fast-loader","last_synced_at":"2026-01-21T21:32:53.328Z","repository":{"id":34073743,"uuid":"168689174","full_name":"Annoraaq/tslint-fast-loader","owner":"Annoraaq","description":"A fast tslint loader for webpack","archived":false,"fork":false,"pushed_at":"2022-12-04T00:16:23.000Z","size":486,"stargazers_count":1,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-01T14:14:58.203Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Annoraaq.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-01T11:41:07.000Z","updated_at":"2021-03-02T20:01:16.000Z","dependencies_parsed_at":"2023-01-15T04:30:20.268Z","dependency_job_id":null,"html_url":"https://github.com/Annoraaq/tslint-fast-loader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Annoraaq%2Ftslint-fast-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Annoraaq%2Ftslint-fast-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Annoraaq%2Ftslint-fast-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Annoraaq%2Ftslint-fast-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Annoraaq","download_url":"https://codeload.github.com/Annoraaq/tslint-fast-loader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247727983,"owners_count":20986198,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T15:18:25.923Z","updated_at":"2026-01-21T21:32:53.320Z","avatar_url":"https://github.com/Annoraaq.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tslint-fast-loader\n\nFast tslint loader for Webpack. This is a fork of tslint-loader but performs faster by an order of magnitude when type checking is enabled.\n\n## Installation\n\n```shell\nnpm install tslint tslint-fast-loader --save-dev\n```\n\nThe package depends on Tslint 4.0+, no longer works with 3.\\* versions.\n\n## Usage\n\nApply the tslint fast loader as preLoader in your webpack configuration.\n\n### Webpack 4\n\n```javascript\nmodule.exports = {\n    module: {\n        rules: [\n            {\n                test: /\\.ts$/,\n                enforce: \"pre\",\n                use: [\n                    {\n                        loader: \"tslint-fast-loader\",\n                        options: {\n                            /* Loader options go here */\n                        }\n                    }\n                ]\n            }\n        ]\n    }\n};\n```\n\n### Webpack 3\n\n```javascript\nmodule.exports = {\n    module: {\n        loaders: [\n            {\n                test: /\\.ts$/,\n                enforce: \"pre\",\n                loader: \"tslint-fast-loader\",\n                options: {\n                    /* Loader options go here */\n                }\n            }\n        ]\n    }\n};\n```\n\n### Webpack 2\n\n```javascript\nmodule.exports = {\n    module: {\n        rules: [\n            {\n                test: /\\.ts$/,\n                enforce: \"pre\",\n                loader: \"tslint-fast-loader\",\n                options: {\n                    /* Loader options go here */\n                }\n            }\n        ]\n    }\n};\n```\n\n### Webpack 1\n\n```javascript\nmodule.exports = {\n    module: {\n        preLoaders: [\n            {\n                test: /\\.ts$/,\n                loader: \"tslint-fast-loader\"\n            }\n        ]\n    },\n\n    tslint: {\n        /* Loader options go here */\n    }\n};\n```\n\n### Loader options\n\n```javascript\n{\n    configuration: {\n        rules: {\n            quotemark: [true, 'double']\n        }\n    },\n\n    // can specify a custom config file relative to current directory or with absolute path\n    // 'tslint-custom.json'\n    configFile: false,\n\n    // tslint errors are displayed by default as warnings\n    // set emitErrors to true to display them as errors\n    emitErrors: false,\n\n    // tslint does not interrupt the compilation by default\n    // if you want any file with tslint errors to fail\n    // set failOnHint to true\n    failOnHint: true,\n\n    // enables type checked rules like 'for-in-array'\n    // uses tsconfig.json from current working directory\n    typeCheck: false,\n\n    // automatically fix linting errors\n    fix: false,\n\n    // can specify a custom tsconfig file relative to current directory or with absolute path\n    // to be used with type checked rules\n    tsConfigFile: 'tsconfig.json',\n\n    // name of your formatter (optional)\n    formatter: 'yourformatter',\n\n    // path to directory containing formatter (optional)\n    formattersDirectory: 'node_modules/tslint-fast-loader/formatters/',\n\n    // These options are useful if you want to save output to files\n    // for your continuous integration server\n    fileOutput: {\n        // The directory where each file's report is saved\n        dir: './foo/',\n\n        // The extension to use for each report's filename. Defaults to 'txt'\n        ext: 'xml',\n\n        // If true, all files are removed from the report directory at the beginning of run\n        clean: true,\n\n        // A string to include at the top of every report file.\n        // Useful for some report formats.\n        header: '\u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\\n\u003ccheckstyle version=\"5.7\"\u003e',\n\n        // A string to include at the bottom of every report file.\n        // Useful for some report formats.\n        footer: '\u003c/checkstyle\u003e'\n    }\n}\n```\n\n## License\n\n[MIT](http://www.opensource.org/licenses/mit-license.php)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fannoraaq%2Ftslint-fast-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fannoraaq%2Ftslint-fast-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fannoraaq%2Ftslint-fast-loader/lists"}