Skip to content

Commit

Permalink
fix: eslint config in compiler inherits from lux .eslintrc.json (#469)
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharygolba authored Oct 19, 2016
1 parent 2c74a0c commit ea471aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/packages/compiler/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,12 @@ export async function compile(dir: string, env: string, {
}),

eslint({
cwd: dir,
parser: 'babel-eslint',
useEslintrc: false,
include: [
path.join(dir, 'app', '**'),
],

exclude: [
path.join(dir, 'package.json'),
path.join(__dirname, '..', 'src', '**')
Expand Down

0 comments on commit ea471aa

Please sign in to comment.