From 8339f75b409be8782b96799dbe6958db4a49ee06 Mon Sep 17 00:00:00 2001 From: jonathangoulding Date: Tue, 20 Aug 2024 09:01:11 +0100 Subject: [PATCH] Linting should not apply to the docs folder Previous work - https://github.com/DEFRA/water-abstraction-system/pull/1253 When the docs are generated, and you run linting (locally) then the linting is being applied to the docs folder. This change ignores the docs folder for linting purposes. --- .eslintrc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.js b/.eslintrc.js index e9453b73f2..5a7654c93f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -2,6 +2,7 @@ module.exports = { extends: 'standard', // Maintain Standard.js rules + ignorePatterns: ['docs/*'], parserOptions: { sourceType: 'script' },