virtual-labs-archive / problem-solving-iiith

Other
4 stars 437 forks source link

Identifier 'is_editable' is not in camel case #453

Open BSravanthi opened 5 years ago

BSravanthi commented 5 years ago

When it comes to naming variables, style guides generally fall into one of two camps: camelcase (variableName) and underscores (variablename). This rule focuses on using the camelcase approach. If your style guide calls for camel casing 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. Ignore the issues with other languages

https://app.codacy.com/app/BSravanthi/problem-solving-iiith/issues?&filters=W3siaWQiOiJMYW5ndWFnZSIsInZhbHVlcyI6W251bGxdfSx7ImlkIjoiQ2F0ZWdvcnkiLCJ2YWx1ZXMiOlsiQ29kZSBTdHlsZSJdfSx7ImlkIjoiTGV2ZWwiLCJ2YWx1ZXMiOltudWxsXX0seyJpZCI6IlBhdHRlcm4iLCJ2YWx1ZXMiOlsxNTUwXX0seyJpZCI6IkF1dGhvciIsInZhbHVlcyI6W251bGxdfSx7InZhbHVlcyI6W119XQ==

AksharaMayreddy commented 5 years ago

commit id's : 043eea58104ee21b94b08813e07d4d8ef6d73c8c 7a82793e18fc9c1f8c630ea3ccdfde5c8ac7d54a b870a4083784321b533121d95fd2286ad4b8b284 997d4998abec71859041d0ece54cf9bcd3b06536 2e38b37d0d2b6448e4fef4506acfbe5b9e1e3c4b 312177d758b39762be11ae8a0cc09087931b3581 448df0ff9ca92f80a2c9f803fe53bfc92ac00901 b90e3e4199ed079fe35dfa7d3838eed4e37873c2 3b2ee531d9cc866b31c46d40ec7e35fece60734b 0fb8fdf50a93f178f1a80a56e700d79448fed471 9631cfb32e29bcf2555d73928598c17a97d523c6 4d6881bb04a18f9c74cdde7b89361e6c9d8d5311 b370afb77f8e85e5f901f401afb2a74c6f36f038 88f90d37c968675ddedfcf490036aad32a5b5ac9 a09b480759e1407c47d8ffa058f0d191566ca642 798630cea2e200fbc65e50fe3b9ee7e3f70225d3 fb432f1c5bcea32660a4943536cd53c2aae13b92

niveditareddy commented 5 years ago

Issue fix@AksharaMayreddy

VINEETHREDDYSHERI commented 5 years ago

Valid fix @AksharaMayreddy

thecoderxman commented 5 years ago

Rectified as per the instructions Commit ID's : b9938d55b1cfd23981b202835f88ab2fe8874c7d 2234a00156090e9127a4942a243468953035f618 1524812b6ea7cc73eeb6f2c33b63a8c4b6724fa1 5ea6f729779609782209842e8bda94a064a5e576 36afec81d3e16b31a62c5c572786afe3a596d204 374acf043ba1dd6f84a0542bb9bb239045ba37ba 47b136dfd56399feb331cc84206aaf4a774de089 d6af0ada6907e74c18322e34b080319761d42402
1a839ec61994535e865dc2630a84247b9c2c75e7 6a9b1031cd2f85d7c5e08970f714c5b234278455 4238eb4fa6360a1392da6efd494bcd9e42556392 9dec39f0230cbee4fc6c534846a754c15fe7ed10 48613a7ff3524dee39817136c2b0bc4ee92e13fb 1d28b4fc5939d7f6268369ac7c1ae570b8ce71e1 629b8ed54c0d65e8ea1102ec93595f772099fe98 9b109ba425ce13538d7e725a411f42e3f6521ef5 f5b6d436a22b9d047b2927da0c4db1573345d9c9