mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-04 20:13:11 +08:00
Fix lint task - paths in eslintrc are relative to cwd not eslintrc file
This commit is contained in:
parent
bf389079ac
commit
6608d37a73
1 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,9 @@ module.exports = grunt => {
|
||||||
options: {
|
options: {
|
||||||
ignore: false,
|
ignore: false,
|
||||||
configFile: '../.eslintrc',
|
configFile: '../.eslintrc',
|
||||||
|
parserOptions: {
|
||||||
|
project: './tsconfig.json',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
target: grunt.config('source:es6'),
|
target: grunt.config('source:es6'),
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue