From 71dad9a51b7dde215bc2a7d991abc6adb66e1e09 Mon Sep 17 00:00:00 2001 From: Parnic Date: Tue, 9 Jun 2020 09:22:25 -0500 Subject: [PATCH] Disabled max-len eslint rule for the entire project Personally I've never found value in keeping line lengths low and it just leads to code that's awkward to write and read. No sense in disabling this per-file. --- .eslintrc.json | 2 +- PasswordEncoder.js | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index aa7979d..c1bf35c 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,7 +1,7 @@ { "extends": "strongloop", "rules": { - "max-len": [2, 120, 8] + "max-len": "off" }, "parserOptions": { "ecmaVersion": 6 diff --git a/PasswordEncoder.js b/PasswordEncoder.js index 3652e48..e6d0d97 100644 --- a/PasswordEncoder.js +++ b/PasswordEncoder.js @@ -1,5 +1,3 @@ -/* eslint max-len: "off" */ - 'use strict'; const BLOCK_SIZE = 16;