Name: javascript
Owner: Center for Open Science
Description: Center for Open Science JavaScript Style
Created: 2017-04-18 17:05:21.0
Updated: 2017-10-09 17:09:35.0
Pushed: 2017-10-09 14:41:19.0
Size: 70
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
JavaScript Style based on AirBnB's JavaScript Guide
Generic ESLint configuration for the Center for Open Science
Based on AirBnB's JavaScript Guide, with a few notable exceptions including:
for..of
loops++
max-len
is a warning, until we get the various repos cleaned upAdd the following to your ESLint config file:
"extends": "@centerforopenscience"
Note: ESLint automatically appends /eslint-config so it is not necessary to add it here.
Ember ESLint configuration for the Center for Open Science
Based on COS's Base Config with eslint-plugin-ember
Since route-able components aren't stable, this is unnecessary:
alias-model-in-controller
This will produce too many errors or warnings to count, so for now, it's turned completely off:
use-ember-get-and-set
The following are set to warnings, but will become errors later:
local-modules
no-observers
no-function-prototype-extensions
named-functions-in-promises
order-in-components
order-in-routes
order-in-controllers
Add the following to your ESLint config file:
"extends": "@centerforopenscience/eslint-config/ember"
Note: You must include /eslint-config in the path for non-default configurations.