#14 Style cleanups
Merged by fmuellner. Opened by fmuellner.

Modernize the coding style to bring it closer to what gjs and upstream are moving towards.

Also import the corresponding eslint configuration.

15 new commits added

  • cleanup: Mark exported symbols
  • cleanup: Mark unused arguments as unused
  • lint: Allow marking variables/arguments as unused
  • lint: Enforce camelCase
  • lint: Enforce arrow notation
  • lint: Require spaces inside braces in object literals
  • lint: Tweak the whitelist of globals
  • lint: Import eslint rules from gjs
  • style: Change indentation of method arguments
  • style: Stop using braces for single-line arrow functions
  • style: Use single quotes
  • style: Change indentation style of object literals
  • style: Switch switch indent
  • cleanup: Remove unused parameter
  • cleanup: Use shorthand in object literals

Pull-Request has been merged by fmuellner