I'm having trouble getting grunt-eslint
to pick up an .eslintignore
file.
My setup is rather atypical in that I'm running the task on files in sibling directories rather than in the working directory itself.
grunt.initConfig({
eslint: {
options: {
configFile: '.eslintrc',
extensions: ['.js', '.html', '.xhtml', '.htm']
},
one: ['../' + project],
all: ['../*']
},
});
My .eslintignore
:
**/*.js
**/*.html
These patterns don't seem to match any files in the sibling directories. Any ideas?