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 6e65450b41e72a1132144c7f639f4143990e6537

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

Latest commit

 

History

370 Commits
370 Commits

Folders and files

NameName
Last commit message
Last commit date
css
css
 
 
docs
docs
 
 
html
html
 
 
java
java
 
 
javascript
javascript
 
 
python
python
 
 
swift
swift
 
 
.gitignore
.gitignore
 
 
CHANGELOG
CHANGELOG
 
 
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 and grunt-eslint. grunt-eslint is a Grunt helper for the ESLint linter.

To add javascript linting to your project:

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

Sample eslint config:

eslint:{
    dev: {
        src: ['src/**/*.js'],
        options: {
            // When true, eslint will test _only_ the rules set in the provided
            // configuration file
            reset: false,
            config: 'node_modules/mobify-code-style/javascript/.eslintrc'
        }
    }
}

CSS

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

Python

See the python directory of this repo for a standardized pylintrc file and instructions on using pep8, pylint and pyflakes to check Python code.

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 01402605 — 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.