GithubHelp home page GithubHelp logo

neverbland / neverbuild Goto Github PK

View Code? Open in Web Editor NEW
32.0 32.0 3.0 1.46 MB

Kickstart NEVERBLAND front-end projects

CSS 65.06% JavaScript 24.04% HTML 9.81% ApacheConf 1.10%
javascript react scss webpack

neverbuild's People

Contributors

maximebonhomme avatar piersolenski avatar taha avatar vslio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

neverbuild's Issues

Add sass-lint

We currently have a .scss-lint.yml file that implies we should be linting, but no task to actually do so. It's currently written in the scss-lint format, however, I suggest switching to sass-lint to gain the follow advantages:

  • A pure Node based stack with no Ruby dependency (easier for both developers and CI)
  • The superior speed of Node SASS over Ruby Sass
  • No extra configuration, should work out of the box

We should review the linting rules and consider enforcing them with Git pre-commit hooks for errors. It might also be useful to list links to packages for popular editors for inline linting.

Don't define specific font-size for p tag

We shouldn't specify a font-size for the p tag cause it adds specificity to our stylesheets (_type.scss line 67).

For example if you want to set the font-size of a div to 22px you will have to do
.my-div p { font-size: 22px; }

The browser default inherit from parent declared font-size, so this is not needed.

Check Sass version locally installed

I have seen people using the build but having issues compiling Sass cause they had a old version.
Maybe we should check the local version installed and setup a minimum version to make sure it's gonna work.
Also by doing this we can probably avoid a useless step of asking the user if he wants to install the Sass gem.

Add media queries breakpoints as Neat settings

Hey,

As recommended in the Neat documentation (https://github.com/thoughtbot/neat#using-neat) we should define our media queries breakpoints.

I always have to define some breakpoints when I kickstart a project, and there are pretty much every time the same.
We could add theses as an example in the app.scss file (or create a _grid-settings.scss but it should be the same I think?).

Something like:

// Define your breakpoints
$tablet: new-breakpoint(max-width 768px 8);
$mobile: new-breakpoint(max-width 600px 4);
$desktop: new-breakpoint(min-width 1024px);

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.