From f601de7ccf0aec9c4f153d7aafdc633a7185280d Mon Sep 17 00:00:00 2001 From: tech-consortium <23320411+tech-consortium@users.noreply.github.com> Date: Fri, 15 Dec 2023 16:16:35 -0600 Subject: [PATCH] rule in ESLint configuration Updated ESLint's configuration file by defining the rule 'max-len' to enforce a maximum line length in the codebase. The length is set to 120 characters. This will ensure code readability and quality by enforcing a consistent standard across all files. --- .eslintrc.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index a61d2d8..7f23b04 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -22,5 +22,7 @@ module.exports = { 'parserOptions': { 'ecmaVersion': 'latest', }, - 'rules': {}, + 'rules': { + 'max-len': ['error', 120], + }, };