From 6608d37a735acf46a371989626bbefbc5ddea2f7 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Mon, 23 Sep 2019 13:45:59 -0500 Subject: [PATCH] Fix lint task - paths in eslintrc are relative to cwd not eslintrc file --- app/build/tasks/eslint-task.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/build/tasks/eslint-task.js b/app/build/tasks/eslint-task.js index 8270ddd95..89c14bc87 100644 --- a/app/build/tasks/eslint-task.js +++ b/app/build/tasks/eslint-task.js @@ -7,6 +7,9 @@ module.exports = grunt => { options: { ignore: false, configFile: '../.eslintrc', + parserOptions: { + project: './tsconfig.json', + }, }, target: grunt.config('source:es6'), },