Skip to content

Commit

Permalink
docs: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
roikoren755 committed Nov 28, 2021
1 parent aa50449 commit ba0293b
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/honest-parents-press.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'eslint-plugin-node-roikoren': patch
---

docs: fix typos
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ If you installed `eslint` globally, you should install this plugin in the same w
| [node-roikoren/no-exports-assign](./docs/rules/no-exports-assign.md) | disallow the assignment to `exports` | ⭐️ |
| [node-roikoren/no-extraneous-import](./docs/rules/no-extraneous-import.md) | disallow `import` declarations which import extraneous modules | ⭐️ |
| [node-roikoren/no-extraneous-require](./docs/rules/no-extraneous-require.md) | disallow `require()` expressions which import extraneous modules | ⭐️ |
| [node-roikoren/no-missing-import](./docs/rules/no-missing-import.md) | disallow `import` declarations which import non-existence modules | ⭐️ |
| [node-roikoren/no-missing-require](./docs/rules/no-missing-require.md) | disallow `require()` expressions which import non-existence modules | ⭐️ |
| [node-roikoren/no-missing-import](./docs/rules/no-missing-import.md) | disallow `import` declarations which import non-existent modules | ⭐️ |
| [node-roikoren/no-missing-require](./docs/rules/no-missing-require.md) | disallow `require()` expressions which import non-existent modules | ⭐️ |
| [node-roikoren/no-new-require](./docs/rules/no-new-require.md) | disallow `new` operators with calls to `require` | |
| [node-roikoren/no-path-concat](./docs/rules/no-path-concat.md) | disallow string concatenation with `__dirname` and `__filename` | |
| [node-roikoren/no-process-exit](./docs/rules/no-process-exit.md) | disallow the use of `process.exit()` | |
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-missing-import.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# node-roikoren/no-missing-import
> disallow `import` declarations which import non-existence modules
> disallow `import` declarations which import non-existent modules
> - ⭐️ This rule is included in `plugin:node-roikoren/recommended` preset.
This is similar to [no-missing-require](no-missing-require.md), but this rule handles `import` and `export` declarations.
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-missing-require.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# node-roikoren/no-missing-require
> disallow `require()` expressions which import non-existence modules
> disallow `require()` expressions which import non-existent modules
> - ⭐️ This rule is included in `plugin:node-roikoren/recommended` preset.
Maybe we cannot find typo of import paths until run it, so this rule checks import paths.
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-missing-import.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default createRule<[options: IAllowModules & IResolvePaths & ITryExtensio
name: 'no-missing-import',
meta: {
type: 'problem',
docs: { description: 'disallow `import` declarations which import non-existence modules', recommended: 'error' },
docs: { description: 'disallow `import` declarations which import non-existent modules', recommended: 'error' },
schema: [
{
type: 'object',
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-missing-require.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default createRule<[options: IAllowModules & IResolvePaths & ITryExtensio
name: 'no-missing-require',
meta: {
type: 'problem',
docs: { description: 'disallow `require()` expressions which import non-existence modules', recommended: 'error' },
docs: { description: 'disallow `require()` expressions which import non-existent modules', recommended: 'error' },
schema: [
{
type: 'object',
Expand Down

0 comments on commit ba0293b

Please sign in to comment.