We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d57921d commit a8c11f8Copy full SHA for a8c11f8
2 files changed
index.js
@@ -18,6 +18,10 @@ try {
18
eslintrc = [];
19
}
20
21
+if(typeof eslintrc.rules["snakecasejs/whitelist"] == "undefined"){
22
+ eslintrc.rules["snakecasejs/whitelist"] = [];
23
+}
24
+
25
function is_class_usage(node) {
26
return ["FunctionDeclaration", "NewExpression", "MemberExpression"].indexOf(node.parent.type) > -1;
27
package.json
@@ -1,7 +1,7 @@
1
{
2
"name": "eslint-plugin-snakecasejs",
3
"description": "Eslint plugin to enforce a style of snake_case in your project, rather than just disabling camelcase.",
4
- "version": "1.1.0-2",
+ "version": "1.1.0-3",
5
"main": "index.js",
6
"author": "Patryk Rzucidlo [@ptkdev] <support@ptkdev.io> (https://ptkdev.it)",
7
"author_original": "David Buchan-Swanson <david.buchanswanson@gmail.com>",
0 commit comments