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 - seidtgeist/syntux: Code with style

BranchesTags
Open more actions menu

Latest commit

 

History

146 Commits
146 Commits

Folders and files

NameName
Last commit message
Last commit date
bin
bin
 
 
lib
lib
 
 
test
test
 
 
.gitignore
.gitignore
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
index.js
index.js
 
 
package.json
package.json
 
 
syntax.json
syntax.json
 
 

Repository files navigation

syntux

Code with style!

syntux automatically beautifies your entire JS code based on a configuration file in the project root.

Install

You probably want to install syntux as a globally available npm package:

sudo npm install -g syntux

syntax.json

TBD

Usage

TBD

DONE

  • Quotes
  • Trim whitespace
  • Insert semicolons
  • Newline at EOF

TODO

Coding style elements which should be configurable & supported at some point:

  • Indentation
  • Braces
  • Var statements
  • Line length
  • Object & array literals

Not sure what to do about these:

  • Comments
  • Class & Function naming (warn?)
  • Constant naming (warn?)
  • File naming (warn?)

Features:

  • Convenient git integration via syntux --install-git-hook
  • Intead of recursively looking for all .js files, check git status output

About

Code with style

Resources

Readme
Activity

Stars

24 stars

Watchers

3 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — 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.