grunt-eslint
ファイルを取得するのに苦労してい.eslintignore
ます。
私のセットアップは、作業ディレクトリ自体ではなく、兄弟ディレクトリ内のファイルに対してタスクを実行しているという点で、かなり異例です。
grunt.initConfig({
eslint: {
options: {
configFile: '.eslintrc',
extensions: ['.js', '.html', '.xhtml', '.htm']
},
one: ['../' + project],
all: ['../*']
},
});
私の.eslintignore
:
**/*.js
**/*.html
これらのパターンは、兄弟ディレクトリ内のどのファイルとも一致しないようです。何か案は?