diff --git a/.eslintrc.json b/.eslintrc.json index ce2dfb06..7ff0c589 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,11 +1,22 @@ { - "plugins": ["jest", "@typescript-eslint", "prettier", "unicorn"], - "extends": ["plugin:unicorn/recommended", "plugin:github/recommended", "plugin:prettier/recommended"], + "plugins": [ + "jest", + "@typescript-eslint", + "prettier", + "unicorn" + ], + "extends": [ + "plugin:unicorn/recommended", + "plugin:github/recommended", + "plugin:prettier/recommended" + ], "parser": "@typescript-eslint/parser", "parserOptions": { "ecmaVersion": 2020, "sourceType": "module", - "extraFileExtensions": [".mjs"], + "extraFileExtensions": [ + ".mjs" + ], "ecmaFeatures": { "impliedStrict": true }, @@ -22,7 +33,10 @@ // Namespaces or sometimes needed "import/no-namespace": "off", // Properly format comments - "spaced-comment": ["error", "always"], + "spaced-comment": [ + "error", + "always" + ], "lines-around-comment": [ "error", { @@ -57,7 +71,12 @@ // Enforce camelCase "camelcase": "error", // Allow forOfStatements - "no-restricted-syntax": ["error", "ForInStatement", "LabeledStatement", "WithStatement"], + "no-restricted-syntax": [ + "error", + "ForInStatement", + "LabeledStatement", + "WithStatement" + ], // Continue is viable in forOf loops in generators "no-continue": "off", // From experience, named exports are almost always desired. I got tired of this rule diff --git a/dist/index.js.map b/dist/index.js.map index a384995f..81e15d8e 100644 Binary files a/dist/index.js.map and b/dist/index.js.map differ