title: eslint – how to know where a rule is "defined"
body: <p>Given a project with its node's <code>package.json</code> installing eslint and a few plugins, how can I know where a particular rule is set?</p>
  <p>I see a rule being applied (<code>space-before-function-paren</code>) but I cannot find it either in any of the <code>.eslintrc</code> files in the project, or in the documentation of the plugins.</p>
  <p>Additionally, I'm working with VSCode with some extensions such as ESLint itself, which could potentially be interfering here, but again I'm not sure how/where to check which part is applying that rule (though I think this is unlikely to be happening, as <code>npm run lint</code> fails if the code fails against the mentioned rule.</p>
  <p>I'm posting the relevant parts of the package.json file:</p>
  <pre class="lang-js prettyprint-override"><code>{
    // ...
    &quot;scripts&quot;: {
      &quot;watch&quot;: &quot;NODE_ENV=development node build/build.js --watch&quot;,
      &quot;build&quot;: &quot;NODE_ENV=development node build/build.js&quot;,
      &quot;build:prod&quot;: &quot;NODE_ENV=production node build/build.js&quot;,
      &quot;unit&quot;: &quot;NODE_ENV=test jest --config test/unit/jest.conf.js --coverage&quot;,
      &quot;test&quot;: &quot;npm run unit&quot;,
      &quot;lint&quot;: &quot;eslint --ext .js,.vue src test/unit/specs&quot;,
      &quot;ci-lint&quot;: &quot;eslint --ext .js,.vue src test/unit/specs --format checkstyle --output-file lint_out/unit_timeline.xml&quot;
    },
    &quot;devDependencies&quot;: {
      &quot;@vue/test-utils&quot;: &quot;^1.0.0-beta.27&quot;,
      &quot;autoprefixer&quot;: &quot;^8.2.0&quot;,
      &quot;babel-core&quot;: &quot;^6.26.0&quot;,
      &quot;babel-eslint&quot;: &quot;^8.2.2&quot;,
      &quot;babel-jest&quot;: &quot;^22.4.3&quot;,
      &quot;babel-loader&quot;: &quot;^7.1.4&quot;,
      &quot;babel-plugin-dynamic-import-node&quot;: &quot;^2.2.0&quot;,
      &quot;babel-plugin-transform-es2015-modules-commonjs&quot;: &quot;^6.26.2&quot;,
      &quot;babel-plugin-transform-runtime&quot;: &quot;^6.23.0&quot;,
      &quot;babel-preset-env&quot;: &quot;^1.7.0&quot;,
      &quot;babel-preset-stage-2&quot;: &quot;^6.24.1&quot;,
      &quot;chalk&quot;: &quot;^2.3.2&quot;,
      &quot;copy-webpack-plugin&quot;: &quot;^4.5.1&quot;,
      &quot;css-loader&quot;: &quot;^0.28.11&quot;,
      &quot;cssnano&quot;: &quot;^3.10.0&quot;,
      &quot;eslint&quot;: &quot;^5.10.0&quot;,
      &quot;eslint-config-standard&quot;: &quot;^12.0.0&quot;,
      &quot;eslint-friendly-formatter&quot;: &quot;^4.0.1&quot;,
      &quot;eslint-loader&quot;: &quot;^2.1.1&quot;,
      &quot;eslint-plugin-import&quot;: &quot;^2.14.0&quot;,
      &quot;eslint-plugin-node&quot;: &quot;^8.0.0&quot;,
      &quot;eslint-plugin-promise&quot;: &quot;^4.0.1&quot;,
      &quot;eslint-plugin-standard&quot;: &quot;^4.0.0&quot;,
      &quot;eslint-plugin-vue&quot;: &quot;^5.0.0&quot;,
      &quot;extract-text-webpack-plugin&quot;: &quot;^3.0.2&quot;,
      &quot;file-loader&quot;: &quot;^1.1.11&quot;,
      &quot;friendly-errors-webpack-plugin&quot;: &quot;^1.6.1&quot;,
      &quot;html-webpack-plugin&quot;: &quot;^3.1.0&quot;,
      &quot;jest&quot;: &quot;^22.4.3&quot;,
      &quot;jest-junit&quot;: &quot;^3.6.0&quot;,
      &quot;jest-serializer-vue&quot;: &quot;^1.0.0&quot;,
      &quot;node-notifier&quot;: &quot;^5.2.1&quot;,
      &quot;optimize-css-assets-webpack-plugin&quot;: &quot;^3.2.0&quot;,
      &quot;ora&quot;: &quot;^2.0.0&quot;,
      &quot;portfinder&quot;: &quot;^1.0.13&quot;,
      &quot;postcss-import&quot;: &quot;^11.1.0&quot;,
      &quot;postcss-loader&quot;: &quot;^2.1.3&quot;,
      &quot;postcss-url&quot;: &quot;^7.3.1&quot;,
      &quot;rimraf&quot;: &quot;^2.6.2&quot;,
      &quot;sass-loader&quot;: &quot;^6.0.7&quot;,
      &quot;semver&quot;: &quot;^5.5.0&quot;,
      &quot;shelljs&quot;: &quot;^0.8.1&quot;,
      &quot;uglifyjs-webpack-plugin&quot;: &quot;^1.2.4&quot;,
      &quot;url-loader&quot;: &quot;^1.0.1&quot;,
      &quot;vue-jest&quot;: &quot;^2.3.0&quot;,
      &quot;vue-loader&quot;: &quot;^14.2.2&quot;,
      &quot;vue-style-loader&quot;: &quot;^4.1.0&quot;,
      &quot;vue-template-compiler&quot;: &quot;^2.5.21&quot;,
      &quot;webpack&quot;: &quot;^3.11.0&quot;,
      &quot;webpack-bundle-analyzer&quot;: &quot;^2.11.1&quot;,
      &quot;webpack-file-list-plugin&quot;: &quot;0.0.6&quot;,
      &quot;webpack-merge&quot;: &quot;^4.1.2&quot;,
      &quot;yargs&quot;: &quot;^11.0.0&quot;
    }
    // ...
  }
  </code></pre>