Giter VIP home page Giter VIP logo

scalafix.g8's Introduction

Build status

Giter8 template to create Scalafix rules

Assuming you are located inside the directory myproject:

sbt new scalacenter/scalafix.g8
cd scalafix
sbt tests/test

If the repository is available on GitHub through at $USERNAME/myproject then users can run the rule with scalafix --rules github:$USERNAME/myproject/v1.

The v1 part is the name of you rule and can be any string. For example, if the rule contains migration rules for version 8 of your library it's good to call it v8. If the rule is a linter that prohibits vars, the name can be NoVars.

migration-rules

We keep here migration rules used to make easier the upgrade of Scalafix Versions when breaking binary and source compatibilities

  • v0.6.x: a migration rule to help the migration to 0.6.x
  • v0.9.28: After deprecating SemanticRule and SyntacticRule classes provided by scalafix-testkit, this rule will automatically fix SemanticRule class usage in code sources that still rely on it.

Template license

Written in 2020 by Scala Center

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 https://creativecommons.org/publicdomain/zero/1.0/.

scalafix.g8's People

Contributors

olafurpg avatar bjaglin avatar mlachkar avatar scala-steward avatar github-brice-jaglin avatar dwijnand avatar fommil avatar eed3si9n avatar xuwei-k avatar

Watchers

James Cloos 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.