Repository Analysis

11ty/eleventy

A simpler site generator. Transforms a directory of templates (of varying types) into HTML.

0.5 Likely human-written View on GitHub
0.5
Adjusted Score
0.5
Raw Score
100%
Time Factor
2026-05-25
Last Push
19,667
Stars
JavaScript
Language
60,444
Lines of Code
405
Files
30
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 1LOW 29

Pattern Findings

30 matches across 3 categories. Click a row to expand file-level details.

Over-Commented Block15 hits · 15 pts
SeverityFileLineSnippet
LOWtsconfig.json21 "target": "ES2021", /* Set the JavaScript language version for emitted JavaScript and
LOWtsconfig.json41 "types": ["node"], /* Specify type package names to be included without being refere
LOWtsconfig.json61 // "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in y
LOWtsconfig.json81 // "declarationDir": "./types/", /* Specify the output directory for generated declaration f
LOWtsconfig.json101 // "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */
LOWtest/TemplatePassthroughTest.js261 "_site",
LOWtest/Issue3808Test.js21
LOWtest/Issue3808Test.js41// }
LOW.github/workflows/codeql.yml1# For most projects, this workflow file will not need changing; you simply need
LOW.github/workflows/codeql.yml61 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
LOW.github/workflows/scorecard.yml41 with:
LOW.github/workflows/scorecard.yml61 # - name: "Upload artifact"
LOWsrc/Util/Require.js141
LOWsrc/Util/importer.core.js21 throw new Error("Could not find content for module: " + JSON.stringify(modInfo));
LOWsrc/Engines/JavaScript.js201
Hyper-Verbose Identifiers14 hits · 14 pts
SeverityFileLineSnippet
LOWtest/TemplateLayoutTest.js10async function getTemplateLayoutInstance(key, inputDir, map) {
LOWtest/TemplateTest_Permalink.js19async function getTemplateMapEntriesWithContent(template, data) {
LOWtest/_testHelpers.js13export async function getTemplateConfigInstance(configObj, dirs, configObjOverride = undefined) {
LOWtest/_testHelpers.js43export async function getTemplateConfigInstanceCustomCallback(dirObject, configCallback) {
LOWtest/_testHelpers.js57export function getTemplateWriterInstance(formats, templateConfig) {
LOWsrc/Eleventy.js616export function EleventyServerlessBundlerPlugin() {
LOWsrc/Util/Require.js73async function dynamicImportAbsolutePath(absolutePath, options = {}) {
LOWsrc/Util/RequireUtils.js23export function requireCommonJsTypeScript(filePath) {
LOWsrc/Util/RequireUtils.core.js12export function requireCommonJsTypeScript() {
LOWsrc/Util/ImportJsonSync.js43function getWorkingProjectPackageJsonPath() {
LOWsrc/Util/ImportJsonSync.js48function getWorkingProjectPackageJson() {
LOWsrc/Plugins/IdAttributePlugin.js41 function idAttributePosthtmlPlugin(pluginOptions = {}) {
LOWsrc/Plugins/PreserveClosingTagsPlugin.js3export function PreserveClosingTagsPlugin(eleventyConfig, options = {}) {
LOWsrc/Plugins/PreserveClosingTagsPlugin.js21 function preserveClosingTagsPlugin(pluginOptions = {}) {
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippet
MEDIUM.github/workflows/codeql.yml57 # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how