← Winnitude! Search  ·  Reader Mode (732 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 46 LINKS

GitHub - 4Catalyzer/javascript: 4Catalyzer JavaScript Tooling

Repository navigation

javascript
Public

About

4Catalyzer JavaScript Tooling

Resources

Readme MIT license Activity Custom properties

Stars

18 stars

Watchers

4 watching

Forks

6 forks Report repository
Branches

Tags
Go to Branches page Go to Tags page

Latest commit

 

History


872 Commits
View commit history for this file.

Folders and files

Name Name Last commit message Last commit date
packages packages    
.eslintrc .eslintrc    
.gitignore .gitignore    
.travis.yml .travis.yml    
LICENSE LICENSE    
README.md README.md    
lerna.json lerna.json    
package.json package.json    
renovate.json renovate.json    
yarn.lock yarn.lock    

Repository files navigation

4Catalyzer JavaScript Style Guide

An utterly unreasonable JavaScript style guide, mostly for trolling @jquense .

Use the Airbnb JavaScript style guide , except where it conflicts with how prettier would handle it. Also use prettier.

Exceptions

This guide is intended to present general guidelines. Most modules should follow this style guide and pass the associated lint checks. However, specific modules should freely disregard specific guidelines and use corresponding ESLint pragmas whenever necessary. Disable the relevant rule or rules with eslint-disable, and enable them again with eslint-enable when you're done.

function renderApp() {
  /* eslint-disable global-require */
  const ClientApplication = require('./ClientApplication');
  /* eslint-enable global-require */

  ReactDOM.render(
    <AppContainer>
      <ClientApplication />
    </AppContainer>,
    document.getElementById('app'),
  );
}

Directory layout

Follow the React Router huge-apps example . Use shared/ at the deepest possible level for shared modules.

Line width

79 characters, because @taion doesn't want to have to resize the width of his buffers when switching between JavaScript and PEP 8-compliant Python.

About

4Catalyzer JavaScript Tooling

Resources

Readme MIT license Activity Custom properties

Stars

18 stars

Watchers

4 watching

Forks

6 forks Report repository

Releases

Packages

Used by

Contributors

Languages