Skip to content

Commit

Permalink
fix(core): set browser + node eslint env in @nrwl/nx/javascript (#4804)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHenry authored Feb 16, 2021
1 parent 4ae9c3e commit cc88815
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/eslint-plugin-nx/src/configs/javascript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
* related plugins and rules below.
*/
export default {
env: {
browser: true,
node: true,
},
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2020,
Expand Down

0 comments on commit cc88815

Please sign in to comment.