Skip to content

Commit 5507f43

Browse files
authored
docs: fix repository URL:s, tweak badges + remove old non-working codecov (#125)
1 parent 574df88 commit 5507f43

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+49
-51
lines changed

.github/workflows/CI.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,3 @@ jobs:
6161
npm install --no-save eslint@${{ matrix.eslint }}
6262
- name: Test
6363
run: npm run -s test:ci
64-
- name: Send Coverage
65-
run: npm run -s codecov
66-
env:
67-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
> forked from [eslint-plugin-node](https://www.npmjs.com/package/eslint-plugin-node) v11.1.0. as the original repository seems [no longer maintained](https://github.com/mysticatea/eslint-plugin-node/issues/300).
44
5-
[![npm version](https://img.shields.io/npm/v/eslint-plugin-n.svg)](https://www.npmjs.com/package/eslint-plugin-n) [![Downloads/month](https://img.shields.io/npm/dm/eslint-plugin-n.svg)](http://www.npmtrends.com/eslint-plugin-n) [![Build Status](https://github.com/weiran-zsd/eslint-plugin-node/workflows/CI/badge.svg)](https://github.com/weiran-zsd/eslint-plugin-node/actions) [![Coverage Status](https://codecov.io/gh/weiran-zsd/eslint-plugin-node/branch/master/graph/badge.svg)](https://codecov.io/gh/weiran-zsd/eslint-plugin-node) [![Dependency Status](https://david-dm.org/weiran-zsd/eslint-plugin-node.svg)](https://david-dm.org/weiran-zsd/eslint-plugin-node)
5+
[![npm version](https://img.shields.io/npm/v/eslint-plugin-n.svg)](https://www.npmjs.com/package/eslint-plugin-n)
6+
[![Downloads](https://img.shields.io/npm/dm/eslint-plugin-n.svg)](https://www.npmjs.com/package/eslint-plugin-n)
7+
[![Build Status](https://github.com/eslint-community/eslint-plugin-n/workflows/CI/badge.svg)](https://github.com/eslint-community/eslint-plugin-n/actions)
68

79
Additional ESLint's rules for Node.js
810

@@ -207,7 +209,7 @@ Deprecated rules follow ESLint's [deprecation policy](https://eslint.org/docs/us
207209

208210
## 📰 Changelog
209211

210-
- [GitHub Releases](https://github.com/weiran-zsd/eslint-plugin-node/releases)
212+
- [GitHub Releases](https://github.com/eslint-community/eslint-plugin-n/releases)
211213

212214
## ❤️ Contributing
213215

lib/rules/callback-return.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = {
1111
description: "require `return` statements after callbacks",
1212
category: "Stylistic Issues",
1313
recommended: false,
14-
url: "https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/callback-return.md",
14+
url: "https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/callback-return.md",
1515
},
1616
schema: [
1717
{

lib/rules/exports-style.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ module.exports = {
229229
description: "enforce either `module.exports` or `exports`",
230230
category: "Stylistic Issues",
231231
recommended: false,
232-
url: "https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/exports-style.md",
232+
url: "https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/exports-style.md",
233233
},
234234
type: "suggestion",
235235
fixable: "code",

lib/rules/file-extension-in-import.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module.exports = {
3939
"enforce the style of file extensions in `import` declarations",
4040
category: "Stylistic Issues",
4141
recommended: false,
42-
url: "https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/file-extension-in-import.md",
42+
url: "https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/file-extension-in-import.md",
4343
},
4444
fixable: "code",
4545
messages: {

lib/rules/global-require.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ module.exports = {
5555
"require `require()` calls to be placed at top-level module scope",
5656
category: "Stylistic Issues",
5757
recommended: false,
58-
url: "https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/global-require.md",
58+
url: "https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/global-require.md",
5959
},
6060
fixable: null,
6161
schema: [],

lib/rules/handle-callback-err.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = {
1111
description: "require error handling in callbacks",
1212
category: "Possible Errors",
1313
recommended: false,
14-
url: "https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/handle-callback-err.md",
14+
url: "https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/handle-callback-err.md",
1515
},
1616
fixable: null,
1717
schema: [

lib/rules/no-callback-literal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = {
1111
"enforce Node.js-style error-first callback pattern is followed",
1212
category: "Possible Errors",
1313
recommended: false,
14-
url: "https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/no-callback-literal.md",
14+
url: "https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-callback-literal.md",
1515
},
1616
type: "problem",
1717
fixable: null,

lib/rules/no-deprecated-api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ module.exports = {
693693
description: "disallow deprecated APIs",
694694
category: "Best Practices",
695695
recommended: true,
696-
url: "https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/no-deprecated-api.md",
696+
url: "https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-deprecated-api.md",
697697
},
698698
type: "problem",
699699
fixable: null,

lib/rules/no-exports-assign.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ module.exports = {
4040
description: "disallow the assignment to `exports`",
4141
category: "Possible Errors",
4242
recommended: true,
43-
url: "https://github.com/weiran-zsd/eslint-plugin-node/blob/HEAD/docs/rules/no-exports-assign.md",
43+
url: "https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-exports-assign.md",
4444
},
4545
fixable: null,
4646
messages: {

0 commit comments

Comments
 (0)