title: Why SonarQube exclusions are not applied to additional extensions specified in sonar.javascript.file.suffixes?
body: <p>In my sonar-project.properties file I have the following settings:</p>
  
  <pre><code>...
  sonar.sources=src
  sonar.exclusions=src/**/*.test.js
  sonar.javascript.file.suffixes=js,jsx
  </code></pre>
  
  <p>However my build is failing with the following error:</p>
  
  <pre><code>ERROR: Caused by: Line 346 of report refers to a file which is not configured as a test file: /tmp/app/src/components/__tests__/filters.test.jsx
  </code></pre>
  
  <p>My jenkins logs report accurately that  <code>58 files ignored because of inclusion/exclusion patterns</code>, verified by using <code>find . -name "*.test.js" | wc -l = 58</code></p>
  
  <p>the same command with jsx gives me 10 results <code>find . -name "*.test.jsx" | wc -l</code> meaning the <code>sonar.javascript.file.suffixes=js,jsx</code> is not applied to the exclusions property.</p>
  
  <p>How do I exclude files in my source with both .js and .jsx extensions?</p>