{"action":"opened","issue":{"url":"https://api.github.com/repos/wallabyjs/public/issues/1906","repository_url":"https://api.github.com/repos/wallabyjs/public","labels_url":"https://api.github.com/repos/wallabyjs/public/issues/1906/labels{/name}","comments_url":"https://api.github.com/repos/wallabyjs/public/issues/1906/comments","events_url":"https://api.github.com/repos/wallabyjs/public/issues/1906/events","html_url":"https://github.com/wallabyjs/public/issues/1906","id":378246876,"node_id":"MDU6SXNzdWUzNzgyNDY4NzY=","number":1906,"title":"wallaby.compilers.babel() ignores .babelrc file","user":{"login":"maksimr","id":616193,"node_id":"MDQ6VXNlcjYxNjE5Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/616193?v=4","gravatar_id":"","url":"https://api.github.com/users/maksimr","html_url":"https://github.com/maksimr","followers_url":"https://api.github.com/users/maksimr/followers","following_url":"https://api.github.com/users/maksimr/following{/other_user}","gists_url":"https://api.github.com/users/maksimr/gists{/gist_id}","starred_url":"https://api.github.com/users/maksimr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maksimr/subscriptions","organizations_url":"https://api.github.com/users/maksimr/orgs","repos_url":"https://api.github.com/users/maksimr/repos","events_url":"https://api.github.com/users/maksimr/events{/privacy}","received_events_url":"https://api.github.com/users/maksimr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-07T11:22:23Z","updated_at":"2018-11-07T11:22:23Z","closed_at":null,"author_association":"NONE","body":"### Issue description or question\r\nWallaby ignore [.babelrc](https://github.com/JetBrains/ring-ui/blob/c68c2a7080bdd50c17616cef72e6490712745ffc/.babelrc) file inside [the project](https://github.com/JetBrains/ring-ui/tree/c68c2a7080bdd50c17616cef72e6490712745ffc)\r\n\r\n\r\n### Wallaby.js configuration file\r\n\r\nhttps://github.com/JetBrains/ring-ui/blob/c68c2a7080bdd50c17616cef72e6490712745ffc/wallaby.config.js\r\n```javascript\r\nconst path = require('path');\r\n\r\nconst wallabyWebpack = require('wallaby-webpack');\r\n\r\nconst webpackConfig = require('./webpack.config');\r\nconst webpackTestConfig = require('./webpack-test.config');\r\n\r\nmodule.exports = wallaby => {\r\n  webpackConfig.componentsPath.\r\n    push(path.join(wallaby.projectCacheDir, 'components'));\r\n  webpackTestConfig.entryPatterns = [\r\n    'test-helpers/mocha-globals.js',\r\n    'test-helpers/enzyme-configuration.js',\r\n    'components/**/*.test.js'\r\n  ];\r\n\r\n  return {\r\n    files: [\r\n      {pattern: 'components/**/*.*', load: false},\r\n      {pattern: 'test-helpers/**/*.js', load: false},\r\n      {pattern: 'postcss.config.js', instrument: false, load: false},\r\n      {pattern: 'components/**/*.test.js', ignore: true}\r\n    ],\r\n\r\n    tests: [\r\n      {pattern: 'components/**/*.test.js', load: false}\r\n    ],\r\n\r\n    testFramework: 'mocha',\r\n\r\n    compilers: {\r\n      '**/*.js': wallaby.compilers.babel()\r\n    },\r\n\r\n    postprocessor: wallabyWebpack(webpackTestConfig),\r\n\r\n    /* global window */\r\n    bootstrap: function bootstrap() {\r\n      // required to trigger tests loading\r\n      window.__moduleBundler.loadTests();\r\n    },\r\n\r\n    env: {\r\n      kind: 'electron'\r\n    },\r\n\r\n    reportConsoleErrorAsError: true\r\n  };\r\n};\r\n```\r\n\r\n### Code editor or IDE name and version\r\nIntelliJ IDEA 2018.3 EAP (Ultimate Edition)\r\nBuild #IU-183.4139.22, built on October 31, 2018\r\nIntelliJ IDEA EAP User\r\nExpiration date: November 30, 2018\r\nJRE: 1.8.0_152-release-1343-b15 x86_64\r\nJVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o\r\nmacOS 10.14\r\n\r\nWallaby Plugin v1.0.118\r\n\r\n### OS name and version\r\nOSX\r\n\r\n\r\n### Workaround\r\nNow I'm using [this workaround](https://github.com/JetBrains/ring-ui/blob/master/wallaby.config.js#L33)"}}
{"actor":{"display_login":"maksimr"}}