Open learnwithgurpreet opened 6 years ago
If I am commenting specific set of block blocks I am getting error but generic code blocks are not getting error messages.
"extends": [ "eslint:recommended" ], "parserOptions": { "ecmaVersion": 6, "sourceType": "module", "ecmaFeatures": { "jsx": true } }, "rules": { "max-params": ["error", { "max": 7 }], "max-statements": ["error", { "max": 100 }], "max-lines": ["error", {"max": 1000}], "max-len": 0, "complexity": ["error", { "max": 10 }], "object-shorthand": ["warn", "properties"], "array-callback-return": "error", "no-undef": "error", "extra-rules/no-commented-out-code": "warn", "no-inline-comments": 2 }`
If I am commenting specific set of block blocks I am getting error but generic code blocks are not getting error messages.
Happy Scenario
Not working
.eslintrc file settings:
"extends": [ "eslint:recommended" ], "parserOptions": { "ecmaVersion": 6, "sourceType": "module", "ecmaFeatures": { "jsx": true } }, "rules": { "max-params": ["error", { "max": 7 }], "max-statements": ["error", { "max": 100 }], "max-lines": ["error", {"max": 1000}], "max-len": 0, "complexity": ["error", { "max": 10 }], "object-shorthand": ["warn", "properties"], "array-callback-return": "error", "no-undef": "error", "extra-rules/no-commented-out-code": "warn", "no-inline-comments": 2 }`