From 2c68ee08d2e4f4188a7864855a485a2068ff709d Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Tue, 12 Nov 2024 22:12:07 -0800 Subject: [PATCH] eslint: Rename configuration to *.cjs. Signed-off-by: Anders Kaseorg --- .eslintrc.js => .eslintrc.cjs | 0 tools/lint | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename .eslintrc.js => .eslintrc.cjs (100%) diff --git a/.eslintrc.js b/.eslintrc.cjs similarity index 100% rename from .eslintrc.js rename to .eslintrc.cjs diff --git a/tools/lint b/tools/lint index bcb92c4892..07b6b39f12 100755 --- a/tools/lint +++ b/tools/lint @@ -83,7 +83,7 @@ def run() -> None: ["node_modules/.bin/eslint", "--max-warnings=0", "--cache"], ["cjs", "cts", "js", "mjs", "mts", "ts"], fix_arg="--fix", - description="Standard JavaScript style and formatting linter (config: .eslintrc).", + description="Standard JavaScript style and formatting linter (config: .eslintrc.cjs).", ) linter_config.external_linter( "puppet",