numo-labs / lambda-taggable-createDocument

:memo: Tag-E Create and Update Documents
3 stars 0 forks source link

snake_case fails semistandard checks #25

Closed hassy closed 8 years ago

hassy commented 8 years ago

As of semistandard v8 snake_case is an error:

> lambda-taggable-createdocument@2.0.2 lint /Users/hassy/workspaces/tc/lambda-taggable-createDocument
> semistandard  --verbose | snazzy

semistandard: Semicolons For All! (https://github.com/Flet/semistandard)

/Users/hassy/workspaces/tc/lambda-taggable-createDocument/test/handler.test.js
  3:5  error  Identifier 'test_hotel_tag' is not in camel case  camelcase
  4:5  error  Identifier 'fields_list' is not in camel case     camelcase

/Users/hassy/workspaces/tc/lambda-taggable-createDocument/test/index.test.js
  5:5  error  Identifier 'test_hotel_tag' is not in camel case  camelcase

/Users/hassy/workspaces/tc/lambda-taggable-createDocument/test/s3_create.test.js
   4:5   error  Identifier 's3_create' is not in camel case  camelcase
   5:5   error  Identifier 'base_url' is not in camel case   camelcase
  28:32  error  Identifier 'base_url' is not in camel case   camelcase
  46:32  error  Identifier 'base_url' is not in camel case   camelcase

We should convert the rest of the codebase to camelCase gradually as well.