Skip to content

Commit

Permalink
changes for eslint camelCase rule
Browse files Browse the repository at this point in the history
  • Loading branch information
josmas committed Mar 13, 2016
1 parent 7f860a4 commit 3120104
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
# Modified rules:
# - arrowFunctions: false // instead of true
# - quotes: [2, "single"] // instead of "backtick"
# - camelcase: [2, properties: "never"] // instead of "always"
# - no-use-before-define: [2, "nofunc"] // instead of defaulting to none
#
# The specific environment(s) needed are configured in this file directly.
Expand Down Expand Up @@ -60,7 +59,7 @@ rules: # http://eslint.org/docs/rules

block-spacing: [2, "always"]
brace-style: [2, "1tbs", allowSingleLine: true]
camelcase: [2, properties: "never"]
camelcase: [2, properties: "always"]
comma-style: [2, "last"]
consistent-this: [2, "self"]
eol-last: [2]
Expand Down
3 changes: 3 additions & 0 deletions src/app.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
'use strict';

// Custom rule due to the ORCID API using properties not in camelCase
/* eslint camelcase: [2, {properties: "never"}] */

var bodyParser = require('body-parser');
var express = require('express');
var path = require('path');
Expand Down

0 comments on commit 3120104

Please sign in to comment.