Code Monkey home page Code Monkey logo

scala-quality.g8's Introduction

scala-quality giter8 plugin

TODO: expand on motivation for this project.

A scala giter8 template with focus on quality oriented plugins. It's mostly plugins I like using to start of projects to be able to:

  • catch potential bugs sooner

  • focus on what's important

  • measure 'quality' from the start, so we do not have to play catch up

  • sbt -sbt-version 0.13.15 new lhohan/scala-quality.g8

Plugins

  • scalafmt:
    • Auto-formatting on compile is enabled.
    • Default formatting style is 'default-with-align'.
  • todos: see todos.
    • Automatically enabled on compile.
  • sbt-updates: see sbt-updates. Common commands:

  • WartRemover, a flexible Scala code linting tool. See wartremover.
    • Automatically enabled on compile.
  • Linter Compiler Plugin, Linter is a Scala static analysis compiler plugin which adds compile-time checks for various possible bugs, inefficiencies, and style problems. See linter.
    • Automatically enabled on compile.

Also configured:

  • coursier: faster artifact fetching

Other

Scala compiler warnings have been enabled and will fail compilation if there are any. See build.sbt to change or add more. To see all possible options run scalac locally.

Setup

All plugins are as much as possible to run on compile as much as possible.

The plugins are added to your project in project/plugins-base.sbt to keep them distinct from your own plugins.

Template license

Written in 2017 by Hans L'Hoest

To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this template to the public domain worldwide. This template is distributed without any warranty. See http://creativecommons.org/publicdomain/zero/1.0/.

scala-quality.g8's People

Contributors

lhohan avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.