GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mobify/mobify-code-style at 555ade8d547b35297be5894e16250f8e30a878ce

This repository was archived by the owner on Aug 8, 2023. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

157 Commits
157 Commits

Folders and files

NameName
Last commit message
Last commit date
css
css
 
 
html
html
 
 
java
java
 
 
javascript
javascript
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
package.json
package.json
 
 

Repository files navigation

Mobify Code Style

A repo to document code standards for different languages and provide tools for linting Mobify projects.

NPM version

JavaScript

Typically we lint our javascript files using Grunt. We have two javascript linters with different features. jshint and jscs.

To add javascript linting to your project:

  1. Install the NPM mobify-code-style, grunt-contrib-jshint, and grunt-contrib-jscs modules.
  2. Create a Gruntfile if you don't have one already.
  3. In the initConfig of your gruntfile, add sections for jshint and/or jscs pointing to the correct linting file.

Sample jshint config:

jshint:{
    dev: {
        src: ['src/**/*.js'],
        options: {
            // The task fails if force is set to false. With true, it shows the
            // linting errors, but continues
            force: false,
            jshintrc: 'node_modules/mobify-code-style/javascript/.jshintrc'
        }
    }
}

Sample jscs config:

jscs: {
    options: {
        config: 'node_modules/mobify-code-style/javascript/.jscsrc'
    },
    src: ['src/**/*.js']
}

CSS

Our Client Services team's CSS Style Guide. Written with a lot of tender care by @kpeatt and @jeffkamo.

About

📚 Mobify's coding style and standards!

Topics

lintinglinting-rules

Resources

Readme
Activity
Custom properties

Stars

115 stars

Watchers

0 watching

Forks

18 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.