diff --git a/README.md b/README.md index dd2abb6..d75fd75 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ Each item has emojis denoting: - [crisp/constructor-variables](https://github.com/crisp-oss/eslint-plugin-crisp/blob/master/rules/constructor-variables.js) (🟠): Ensures all class properties in the constructor start with `_` - [crisp/enforce-optional](https://github.com/crisp-oss/eslint-plugin-crisp/blob/master/rules/enforce-optional.js) (🟠🟢): Enforces use of optional chaining - [crisp/header-check](https://github.com/crisp-oss/eslint-plugin-crisp/blob/master/rules/header-check.js) (🟠🟢): Enforces files to start with Crisp header -- [crisp/header-comments-check](https://github.com/crisp-oss/eslint-plugin-crisp/blob/master/rules/header-comments-check.js) (🟠🟢): Enforces different comment blocks before different groups (imports, exports, constants and instances) +- [crisp/header-comments-check](https://github.com/crisp-oss/eslint-plugin-crisp/blob/master/rules/header-comments-check.js) (🟠🟢): Enforces different comment blocks before different groups (imports, constants, instances and exports) - [crisp/methods-naming](https://github.com/crisp-oss/eslint-plugin-crisp/blob/master/rules/methods-naming.js) (🟠🟢): Ensures methods are named according to their access (`public`, `private`, `protected`) - [crisp/methods-ordering](https://github.com/crisp-oss/eslint-plugin-crisp/blob/master/rules/methods-ordering.js) (🟠🟢): Ensures methods order according to their access: `public` then `protected` then `private` - [crisp/multiline-comment-end-backslash](https://github.com/crisp-oss/eslint-plugin-crisp/blob/master/rules/multiline-comment-end-backslash.js) (🟠🟢): Enforces multiline comments to end with a backslash diff --git a/index.js b/index.js index 61075ec..38dc2cc 100644 --- a/index.js +++ b/index.js @@ -19,6 +19,7 @@ module.exports = { "methods-naming": require("./rules/methods-naming"), "methods-ordering": require("./rules/methods-ordering"), "multiline-comment-end-backslash": require("./rules/multiline-comment-end-backslash"), + "newline-after-switch-case": require("./rules/newline-after-switch-case"), "no-async": require("./rules/no-async"), "no-var-in-blocks": require("./rules/no-var-in-blocks"), "no-space-in-optional-arguments": require("./rules/no-space-in-optional-arguments"), diff --git a/package-lock.json b/package-lock.json index e6d1a09..a640e88 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "eslint-plugin-crisp", - "version": "1.0.68", + "version": "1.0.69", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "eslint-plugin-crisp", - "version": "1.0.68", + "version": "1.0.69", "license": "MIT", "dependencies": { "doctrine": "3.0.0", diff --git a/package.json b/package.json index 798394e..0da151e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-crisp", - "version": "1.0.68", + "version": "1.0.69", "description": "Custom ESLint Rules for Crisp", "author": "Crisp IM SAS", "main": "index.js",