Skip to content

Instantly share code, notes, and snippets.

@GaryJones
Last active March 18, 2018 14:02
Show Gist options
  • Save GaryJones/56938d30bb86cd1c078a to your computer and use it in GitHub Desktop.
Save GaryJones/56938d30bb86cd1c078a to your computer and use it in GitHub Desktop.
Config Files list

Config Files

Development-related files that might be found in version-controlled projects. Doesn't include editor-specific files.

Files

  • .editorconfig - EditorConfig define and maintain consistent coding styles between different editors and IDEs.
  • .gitignore - ignore files from version control. Note, don't add system files - contributors should be globally ignoring these on their local machines. Only use for files created during project build, credentials files etc.

Dependencies

  • .bowerrc - Bower configuration.
  • bower.json - list desired Bower packages.
  • composer.json - list Composer packages and configuration. composer.lock will also be generated to lock down package versions.
  • package.json - list NodeJS packages and configuration. npm-shrinkwrap.json may also be generated with npm shrinkwrap to lock down package versions.

Automation

  • gruntfile.js - GruntJS automated task running.
  • .travis.yml - Travis CI for automated testing.
  • .scrutinizer.yml - Scrutinizer for automated code quality checking.

JavaScript

  • .jscsrc - JavaScript Coding Standards configuration.
  • .jshintrc - JSHint to check JavaScript coding practices.
  • .gruntjshintrc - (Suggested name) JSHint to check JavaScript coding practices for Grunt configuration files.

PHP

(S)CSS

  • .csscomb.json - CSSComb for formatting CSS.
  • browserslist - Browserslist for defining supported browsers, used for tools like Autoprefixer.
  • .scss-lint.yml - scss-lint for SCSS code quality.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment