Skip to content

Commit

Permalink
Docs: remove experimental mark from process-exit-as-throw rule
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea committed Sep 25, 2016
1 parent 81ffd25 commit 0d0ce45
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -48,7 +48,7 @@ This preset config:
| | | [no-unpublished-import](docs/rules/no-unpublished-import.md) | Disallow `import` declarations for files that npm ignores.
| :star: | | [no-unpublished-require](docs/rules/no-unpublished-require.md) | Disallow `require()`s for files that npm ignores.
| :star: | | [no-unsupported-features](docs/rules/no-unsupported-features.md) | Disallow unsupported ECMAScript features on the specified version.
| | | [process-exit-as-throw](docs/rules/process-exit-as-throw.md) | Make the same code path as throw at `process.exit()`. (⚠ Experimental)
| | | [process-exit-as-throw](docs/rules/process-exit-as-throw.md) | Make the same code path as throw at `process.exit()`.
| :star: | :pencil: | [shebang](docs/rules/shebang.md) | Suggest correct usage of shebang.

- :star: - the mark of a recommended rule.
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-missing-import.md
Expand Up @@ -2,7 +2,7 @@

This is similar to [no-missing-require](no-missing-require.md), but this rule handles `import` and `export` declarations.

**NOTE:** ECMAScript 2015 (ES6) does not define the lookup logic and Node does not support modules yet. So this rule spec might be changed in future.
**NOTE:** ECMAScript 2015 (ES6) does not define the lookup logic and Node does not support modules yet. So this rule spec might be changed in future.

## Rule Details

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-unpublished-import.md
Expand Up @@ -2,7 +2,7 @@

This is similar to [no-unpublished-require](no-unpublished-require.md), but this rule handles `import` and `export` declarations.

**NOTE:** ECMAScript 2015 (ES6) does not define the lookup logic and Node does not support modules yet. So this rule spec might be changed in future.
**NOTE:** ECMAScript 2015 (ES6) does not define the lookup logic and Node does not support modules yet. So this rule spec might be changed in future.

## Rule Details

Expand Down
10 changes: 6 additions & 4 deletions docs/rules/process-exit-as-throw.md
@@ -1,7 +1,5 @@
# Make the same code path as throw at `process.exit()` (process-exit-as-throw)

**Experimental:** This rule is an experimental thing. This may be changed without major bump in future.

## Rule Details

```js
Expand All @@ -24,8 +22,12 @@ This rule itself never warn code.

Nothing.

## When Not To Use It
## Related Rules

If you don't want to address `process.exit()` as throw in code path analysis, then it's safe to disable this rule.
- [consistent-return]
- [no-fallthrough]
- [no-unreachable]

[consistent-return]: http://eslint.org/docs/rules/consistent-return
[no-fallthrough]: http://eslint.org/docs/rules/no-fallthrough
[no-unreachable]: http://eslint.org/docs/rules/no-unreachable

0 comments on commit 0d0ce45

Please sign in to comment.