Giter Site home page Giter Site logo

juwai-lint-cfg's Introduction

Lint configuration files

These are files used across our projects to lint our files.

They help you to get familiar with our coding style–guides. They also help to get feedback about common pitfalls earlier in the coding process, instead of when you submit a PR.

Install

Globally

If you’re installing this repository as a way to lint your files across all our projects, just run the following command in the folder containing your juwai repositories. Linters should then use these files by default if no file is present in a specific repository.

$ npm install juwai/juwai-lint-cfg

Within a specific project

  1. Make sure node.js is installed in your environment.
  2. cd to the root of your project’s repository.
  3. Run $ npm install juwai/juwai-lint-cfg --save-dev to install the module from git and save it to the configuration of the project.
  4. Files should be now copied to the root of your repository, ready to lint your code!

Usage

These files are used by Travis-CI when opening a Pull Request, and you can also use them in your editor.

Sublime-Text

You can install the following plugins to have live linting in Sublime–Text. Their installation is usually really similar, so please refer to their documentation if something is not working, or ask around with your specific problem.

  1. SublimeLinter: https://packagecontrol.io/packages/SublimeLinter

  2. Essential for all projects:

  3. JavaScript:

  4. CSS:

You can also install tools to assist you with style-guides:

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.