From 197570b154612e05f3d97405eee341016361bc03 Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Fri, 1 Apr 2022 10:29:53 +0200 Subject: [PATCH] Remove invalid syntax from .eslintrc.js The exclamation mark prefix doesn't have any effect in the `files` list. You instead need to override the matched path later with a different rule in order to change the behavior. --- .eslintrc.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index af9d77c4a9662..37c951e7e0763 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -274,12 +274,7 @@ module.exports = { * Licence headers */ { - files: [ - '**/*.{js,mjs,ts,tsx}', - '!plugins/**/*', - '!packages/elastic-datemath/**/*', - '!packages/elastic-eslint-config-kibana/**/*', - ], + files: ['**/*.{js,mjs,ts,tsx}'], rules: { '@kbn/eslint/require-license-header': [ 'error',