virtual-labs-archive / vlsi-iiith

Other
4 stars 270 forks source link

Identifier 'app_compat_older_firefox_only' is not in camel case. (camelcase) #180

Open BSravanthi opened 6 years ago

BSravanthi commented 6 years ago

When it comes to naming variables, styleguides generally fall into one of two camps: camelcase (variableName) and underscores (variablename). This rule focuses on using the camelcase approach. If your styleguide calls for camelcasing your variable names, then this rule is for you! This rule looks for any underscores () located within the source code. It ignores leading and trailing underscores and only checks those in the middle of a variable name. If ESLint decides that the variable is a constant (all uppercase), then no warning will be thrown. Otherwise, a warning will be thrown. This rule only flags definitions and assignments but not function calls.

//Bad:
var my_favorite_color = "#112C85";
//Good:
var myFavoriteColor  = "#112C85";

Please refer to the following link to fix similar issues. https://app.codacy.com/app/BSravanthi/vlsi-iiith/issues?bid=7972124&filters=W3siaWQiOiJMYW5ndWFnZSIsInZhbHVlcyI6W251bGxdfSx7ImlkIjoiQ2F0ZWdvcnkiLCJ2YWx1ZXMiOlsiQ29kZSBTdHlsZSJdfSx7ImlkIjoiTGV2ZWwiLCJ2YWx1ZXMiOltudWxsXX0seyJpZCI6IlBhdHRlcm4iLCJ2YWx1ZXMiOlsxNTUwXX0seyJ2YWx1ZXMiOltdfV0=

DevikaBoddu commented 6 years ago

Commit id: fbe4ccf(1) Commit id: 63f25f2(2)

kranthi99 commented 6 years ago

valid fix @DevikaBoddu

AksharaMayreddy commented 6 years ago

valid fix @DevikaBoddu

Pallavi98 commented 5 years ago

valid fix @DevikaBoddu