GithubHelp home page GithubHelp logo

universityofnottingham / dotnet-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 40 KB

Re-usable code and templates for .NET Core development

License: MIT License

JavaScript 78.45% CSS 21.55%

dotnet-boilerplate's People

Contributors

alanshortis avatar beforan avatar tomaszglazer avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dotnet-boilerplate's Issues

Husky hooks - move config due to deprecating npm scripts

Husky will be deprecating the use of npm's pre scripts for defining hooks.

Instead husky hooks should be defined in a separate config file or object inside package.json

we should move our precommit hook to the new config format in package.json as follows:

{
  //...
  "husky": {
    "hooks": {
      "pre-commit": "..."
    }
  }
  //...
}

gulp 4

Gulp 4 is out and i've successfully used it on a js lib, so we could update this repo to use it

Add Autoprefixer to the sass workflow, since bootstrap 4 expects it

While no custom sass in the boilerplate requires vendor prefixes, we do import bootstrap 4's sass from source, which is expected to be run through Autoprefixer (as per the dist build process in the bootstrap 4 repo).

So we need to run it through Autoprefixer in the gulp task we build our sass in.

prettier

  • use prettier for formatting
  • precommit hook
  • remove formatting rules from the linters to focus them on code quality
  • makes the linting experience less painful

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.