@newrelic/eslint-config 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +36 -27
- package/README.md +2 -2
- package/index.js +1 -1
- package/package.json +7 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,27 +1,36 @@
|
|
|
1
|
-
### v0.
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
* Updated
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
1
|
+
### v0.4.0 (2024-01-02)
|
|
2
|
+
|
|
3
|
+
* Set new baseline ECMAScript version
|
|
4
|
+
* Update dependencies
|
|
5
|
+
* Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
|
|
6
|
+
* Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
|
|
7
|
+
* Updated README links to point to new forum link due to repolinter ruleset change
|
|
8
|
+
* Update README header image to latest OSS office required images
|
|
9
|
+
|
|
10
|
+
### v0.3.0 (2023-02-07)
|
|
11
|
+
|
|
12
|
+
* Added [eslint-plugin-sonarjs](https://github.com/SonarSource/eslint-plugin-sonarjs) recommended ruleset.
|
|
13
|
+
|
|
14
|
+
### v0.2.0 (2022-10-04)
|
|
15
|
+
|
|
16
|
+
* Updated eslint to 8.x.
|
|
17
|
+
|
|
18
|
+
### v0.1.0 (2022-09-19)
|
|
19
|
+
|
|
20
|
+
* Added overrides to disable the ESM rules of no unpublished or extraneous import.
|
|
21
|
+
|
|
22
|
+
### v0.0.4 (2022-01-05)
|
|
23
|
+
|
|
24
|
+
* Added workflow to automatically add issues/Prs to Node.js Engineering Board
|
|
25
|
+
|
|
26
|
+
* Added CHANGELOG.md to track this file, so meta.
|
|
27
|
+
|
|
28
|
+
* Added workflow to automatically prepare releases.
|
|
29
|
+
|
|
30
|
+
### v0.0.3 (2021-09-09):
|
|
31
|
+
|
|
32
|
+
* Added prefer-const and no-var rules
|
|
33
|
+
|
|
34
|
+
### v0.0.2 (2021-08-17):
|
|
35
|
+
|
|
36
|
+
* Initial release of shared eslint rules for the Node.js Agent Team
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
<a href="https://opensource.newrelic.com/oss-category/#community-plus"><picture><source media="(prefers-color-scheme: dark)" srcset="https://github.com/newrelic/opensource-website/raw/main/src/images/categories/dark/Community_Plus.png"><source media="(prefers-color-scheme: light)" srcset="https://github.com/newrelic/opensource-website/raw/main/src/images/categories/Community_Plus.png"><img alt="New Relic Open Source community plus project banner." src="https://github.com/newrelic/opensource-website/raw/main/src/images/categories/Community_Plus.png"></picture></a>
|
|
2
2
|
|
|
3
3
|
# New Relic Eslint Config
|
|
4
4
|
|
|
@@ -22,7 +22,7 @@ Add the following to your `.eslintrc.js`:
|
|
|
22
22
|
|
|
23
23
|
## Support
|
|
24
24
|
|
|
25
|
-
New Relic hosts and moderates an online forum where customers can interact with New Relic employees as well as other customers to get help and share best practices. Like all official New Relic open source projects, there's a related Community topic in the New Relic Explorers Hub. You can find this project's topic/threads here
|
|
25
|
+
New Relic hosts and moderates an online forum where customers can interact with New Relic employees as well as other customers to get help and share best practices. Like all official New Relic open source projects, there's a related Community topic in the New Relic Explorers Hub. You can find this project's topic/threads [here](https://forum.newrelic.com).
|
|
26
26
|
|
|
27
27
|
## Contribute
|
|
28
28
|
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newrelic/eslint-config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Eslint ruleset for New Relic Node.js agent",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -12,23 +12,15 @@
|
|
|
12
12
|
],
|
|
13
13
|
"author": "New Relic Node.js agent team <nodejs@newrelic.com>",
|
|
14
14
|
"license": "Apache-2.0",
|
|
15
|
-
"devDependencies": {
|
|
15
|
+
"devDependencies": {},
|
|
16
|
+
"dependencies": {
|
|
16
17
|
"eslint": "^8.24.0",
|
|
17
|
-
"eslint-config-prettier": "^
|
|
18
|
+
"eslint-config-prettier": "^9.1.0",
|
|
18
19
|
"eslint-plugin-header": "^3.1.1",
|
|
19
20
|
"eslint-plugin-node": "^11.1.0",
|
|
20
|
-
"eslint-plugin-prettier": "^
|
|
21
|
-
"eslint-plugin-sonarjs": "^0.
|
|
22
|
-
"prettier": "^
|
|
23
|
-
},
|
|
24
|
-
"peerDependencies": {
|
|
25
|
-
"eslint": "^8.24.0",
|
|
26
|
-
"eslint-config-prettier": "^8.3.0",
|
|
27
|
-
"eslint-plugin-header": "^3.1.1",
|
|
28
|
-
"eslint-plugin-node": "^11.1.0",
|
|
29
|
-
"eslint-plugin-prettier": "^3.4.0",
|
|
30
|
-
"eslint-plugin-sonarjs": "^0.18.0",
|
|
31
|
-
"prettier": "^2.3.2"
|
|
21
|
+
"eslint-plugin-prettier": "^5.1.2",
|
|
22
|
+
"eslint-plugin-sonarjs": "^0.23.0",
|
|
23
|
+
"prettier": "^3.1.1"
|
|
32
24
|
},
|
|
33
25
|
"engines": {
|
|
34
26
|
"node": ">=12"
|