title: Can you put .gitignore in subdirectory like config instead of root directory for structure reasons?
body: <p>I've ton of files that go into root folder and i'm looking to clean it up.</p>
  
  <p>for example</p>
  
  <pre><code>.env
  .babelrc
  .eslintignore
  .eslintrc.json
  webpack.config.js
  gulpfile.js
  sequelize.json
  
  ... list goes on
  </code></pre>
  
  <p>I want to move all of them in config folder, because that what they are.</p>
  
  <p>So is it possible to have gitignore applied from sub-directory to parent.</p>
  
  <p>It seems like every tool wants to jam  its config file into root directory</p>
  
  <p>aws, gulp, webpack, vscode, database, react, linting...</p>