Skip to content

Commit

Permalink
UPDATE node 20 and e15
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruben Moreno committed Oct 17, 2024
1 parent 1c244c6 commit dbc5eb4
Show file tree
Hide file tree
Showing 54 changed files with 1,459 additions and 1,688 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parserOptions": {
"ecmaVersion": 2022
"ecmaVersion": 2024
},
"extends": [
"./packages/eslint-config-adidas-es5/index.js",
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ This changelog is only to log changes of the project base.
If there are changes on the packages, please, check and update the changelog of each package accordingly.
-->

# 4.0.0

- Updated engine requirements to node 20 and npm 10.
- Updated ecmaVersion to 2024 or es15.
- Updated `eslint` to 9.
- Updated `eslint-plugin-node` to 17.

## 3.1.0

- Replace dependency eslint-plugin-node with eslint-plugin-n 14.0.0.
Expand Down
2,767 changes: 1,177 additions & 1,590 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "js-linter-configs",
"version": "3.1.0",
"version": "4.0.0",
"description": "adidas configurations for JavaScript linting tools",
"license": "MIT",
"contributors": [
Expand All @@ -12,8 +12,8 @@
"url": "https://github.com/adidas/js-linter-configs.git"
},
"engines": {
"node": ">= 18",
"npm": ">= 9"
"node": ">= 20",
"npm": ">= 10"
},
"workspaces": [
"packages/*"
Expand All @@ -24,8 +24,8 @@
},
"devDependencies": {
"chalk": "5.3.0",
"eslint": "8.50.0",
"eslint-plugin-n": "14.0.0",
"eslint": "9.12.0",
"eslint-plugin-n": "17.0.0",
"safe-publish": "1.2.1"
},
"keywords": [
Expand Down
5 changes: 5 additions & 0 deletions packages/eslint-config-adidas-babel/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 3.0.0

- Updated ESLint to version 9.
- Updated engine requirements to node 20 and npm 10.

## 2.0.0

- Updated ESLint to version 8.
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-adidas-babel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Adds Babel parser and applies some babel settings to ESLint configuration.
## Install

```
npm i --save-dev eslint@8 @babel/eslint-parser@7 eslint-config-adidas-babel
npm i --save-dev eslint@9 @babel/eslint-parser@7 eslint-config-adidas-babel
```

## Usage
Expand Down
8 changes: 4 additions & 4 deletions packages/eslint-config-adidas-babel/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-adidas-babel",
"version": "2.0.0",
"version": "3.0.0",
"description": "ESLint configuration to use @babel/eslint-parser",
"license": "MIT",
"contributors": [
Expand All @@ -12,13 +12,13 @@
"url": "https://github.com/adidas/js-linter-configs.git"
},
"engines": {
"node": ">= 18",
"npm": ">= 9"
"node": ">= 20",
"npm": ">= 10"
},
"main": "./index.js",
"peerDependencies": {
"@babel/eslint-parser": "^7",
"eslint": "^8"
"eslint": "^9"
},
"files": [
"index.js",
Expand Down
5 changes: 5 additions & 0 deletions packages/eslint-config-adidas-env/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 3.0.0

- Updated ESLint to version 9.
- Updated engine requirements to node 20 and npm 10.

## 2.1.0

- Replace dependency eslint-plugin-node with eslint-plugin-n 14.0.0.
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-adidas-env/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Environment configurations for ESLint:
## Install

```
npm i --save-dev eslint@8 eslint-plugin-n@14 eslint-config-adidas-env
npm i --save-dev eslint@9 eslint-plugin-n@14 eslint-config-adidas-env
```

## Usage
Expand Down
10 changes: 5 additions & 5 deletions packages/eslint-config-adidas-env/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-adidas-env",
"version": "2.1.0",
"version": "3.0.0",
"description": "ESLint configurations for multiple environments",
"license": "MIT",
"contributors": [
Expand All @@ -12,13 +12,13 @@
"url": "https://github.com/adidas/js-linter-configs.git"
},
"engines": {
"node": ">= 18",
"npm": ">= 9"
"node": ">= 20",
"npm": ">= 10"
},
"main": "./browser.js",
"peerDependencies": {
"eslint": "^8",
"eslint-plugin-n": "^14"
"eslint": "^9",
"eslint-plugin-n": "^17"
},
"files": [
"browser.js",
Expand Down
5 changes: 5 additions & 0 deletions packages/eslint-config-adidas-es13/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 3.0.0

- Updated ESLint to version 9.
- Updated engine requirements to node 20 and npm 10.
- Updated `eslint-config-adidas-es9` to 3.

# 1.0.0

Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-adidas-es13/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This set of rules is not too restrictive since ES13 features are yet in evaluati
## Install

```
npm i --save-dev eslint@8 eslint-plugin-import@2 eslint-plugin-promise@6 eslint-config-adidas-es13
npm i --save-dev eslint@9 eslint-plugin-import@2 eslint-plugin-promise@7 eslint-config-adidas-es13
```

## Usage
Expand Down
10 changes: 5 additions & 5 deletions packages/eslint-config-adidas-es13/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-adidas-es13",
"version": "1.0.0",
"version": "2.0.0",
"description": "ESLint configuration and rules for ECMAScript 13",
"license": "MIT",
"contributors": [
Expand All @@ -12,15 +12,15 @@
"url": "https://github.com/adidas/js-linter-configs.git"
},
"engines": {
"node": ">= 18",
"npm": ">= 9"
"node": ">= 20",
"npm": ">= 10"
},
"main": "./index.js",
"peerDependencies": {
"eslint": "^8"
"eslint": "^9"
},
"dependencies": {
"eslint-config-adidas-es9": "~2.0"
"eslint-config-adidas-es9": "~3.0"
},
"files": [
"index.js",
Expand Down
3 changes: 3 additions & 0 deletions packages/eslint-config-adidas-es15/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# 1.0.0

- Initial version: `eslint-config-adidas-es15`.
43 changes: 43 additions & 0 deletions packages/eslint-config-adidas-es15/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
[![npm version](https://badge.fury.io/js/eslint-config-adidas-es13.svg)](https://npmjs.com/package/eslint-config-adidas-es13)

# eslint-config-adidas-es13

ES13 (ES2022) ESLint rules.

These already extend `eslint-config-adidas-es9`.

This set of rules is not too restrictive since ES13 features are yet in evaluation.

## Install

```
npm i --save-dev eslint@9 eslint-plugin-import@2 eslint-plugin-promise@7 eslint-config-adidas-es13
```

## Usage

```json
{
"extends": [
"adidas-es13"
]
}
```

Usually you would mix this with other eslint configurations, like:

```json
{
"extends": [
"adidas-env/browser",
"adidas-env/modules",
"adidas-es13"
]
}
```

## Links

- [Base configuration](https://tools.adidas-group.com/bitbucket/projects/BWRNPM/repos/pea-linter-configs/browse/packages/eslint-config-es5)
- [ESLint](https://eslint.org/)
- [FAQ: ESLint Peer Dependencies](../../CHANGELOG.md#ESLint-Peer-Dependencies)
6 changes: 6 additions & 0 deletions packages/eslint-config-adidas-es15/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
extends: ['eslint-config-adidas-es13'].map(require.resolve),
parserOptions: {
ecmaVersion: 15
}
};
35 changes: 35 additions & 0 deletions packages/eslint-config-adidas-es15/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"name": "eslint-config-adidas-es15",
"version": "1.0.0",
"description": "ESLint configuration and rules for ECMAScript 15",
"license": "MIT",
"contributors": [
"David Recuenco <david.recuencogadea@gmail.com>",
"Jaime Pastor <moelders@gmail.com>"
],
"repository": {
"type": "git",
"url": "https://github.com/adidas/js-linter-configs.git"
},
"engines": {
"node": ">= 20",
"npm": ">= 10"
},
"main": "./index.js",
"peerDependencies": {
"eslint": "^9"
},
"dependencies": {
"eslint-config-adidas-es13": "~2.0"
},
"files": [
"index.js",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"keywords": [
"eslint",
"eslint-config"
]
}
5 changes: 5 additions & 0 deletions packages/eslint-config-adidas-es5/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 3.0.0

- Updated ESLint to version 9.
- Updated engine requirements to node 20 and npm 10.

## 2.0.0

- Updated ESLint to version 8.
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-adidas-es5/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This should be the base for every JavaScript project, regardless of the ECMAScri
## Install

```
npm i --save-dev eslint@8 eslint-config-adidas-es5
npm i --save-dev eslint@9 eslint-config-adidas-es5
```

## Usage
Expand Down
8 changes: 4 additions & 4 deletions packages/eslint-config-adidas-es5/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-adidas-es5",
"version": "2.0.0",
"version": "3.0.0",
"description": "ESLint base configuration and rules for all JavaScript codebases",
"license": "MIT",
"contributors": [
Expand All @@ -12,12 +12,12 @@
"url": "https://github.com/adidas/js-linter-configs.git"
},
"engines": {
"node": ">= 18",
"npm": ">= 9"
"node": ">= 20",
"npm": ">= 10"
},
"main": "./index.js",
"peerDependencies": {
"eslint": "^8"
"eslint": "^9"
},
"files": [
"index.js",
Expand Down
7 changes: 7 additions & 0 deletions packages/eslint-config-adidas-es6/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 3.0.0

- Updated ESLint to version 9.
- Updated engine requirements to node 20 and npm 10.
- Updated `eslint-plugin-promise` to 7.
- Updated `eslint-config-adidas-es5` to 3.

## 2.0.0

- Updated ESLint to version 8.
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-adidas-es6/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ These already extend `eslint-config-adidas-es5`.
## Install

```
npm i --save-dev eslint@8 eslint-plugin-import@2 eslint-plugin-promise@6 eslint-config-adidas-es6
npm i --save-dev eslint@9 eslint-plugin-import@2 eslint-plugin-promise@7 eslint-config-adidas-es6
```

## Usage
Expand Down
14 changes: 7 additions & 7 deletions packages/eslint-config-adidas-es6/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-adidas-es6",
"version": "2.0.0",
"version": "3.0.0",
"description": "ESLint configuration and rules for ECMAScript 6",
"license": "MIT",
"contributors": [
Expand All @@ -12,17 +12,17 @@
"url": "https://github.com/adidas/js-linter-configs.git"
},
"engines": {
"node": ">= 18",
"npm": ">= 9"
"node": ">= 20",
"npm": ">= 10"
},
"main": "./index.js",
"peerDependencies": {
"eslint": "^8",
"eslint-plugin-import": "^2.28",
"eslint-plugin-promise": "^6"
"eslint": "^9",
"eslint-plugin-import": "^2.31",
"eslint-plugin-promise": "^7"
},
"dependencies": {
"eslint-config-adidas-es5": "~2.0"
"eslint-config-adidas-es5": "~3.0"
},
"files": [
"index.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/eslint-config-adidas-es7/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 3.0.0

- Updated ESLint to version 9.
- Updated engine requirements to node 20 and npm 10.
- Updated `eslint-config-adidas-es6` to 3.

## 2.0.0

- Updated ESLint to version 8.
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-adidas-es7/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This set of rules is not too restrictive since ES7 features are yet in evaluatio
## Install

```
npm i --save-dev eslint@8 eslint-plugin-import@2 eslint-plugin-promise@6 eslint-config-adidas-es7
npm i --save-dev eslint@9 eslint-plugin-import@2 eslint-plugin-promise@7 eslint-config-adidas-es7
```

## Usage
Expand Down
Loading

0 comments on commit dbc5eb4

Please sign in to comment.