@1024pix/eslint-plugin 2.1.14 → 2.1.16

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.
@@ -7,6 +7,6 @@ jobs:
7
7
  runs-on: ubuntu-latest
8
8
  steps:
9
9
  - name: Checkout Repository
10
- uses: actions/checkout@v5
10
+ uses: actions/checkout@v6
11
11
 
12
12
  - uses: 1024pix/pix-actions/check-node-version-availability-on-scalingo@v0
@@ -1,25 +1,33 @@
1
1
  name: release
2
2
 
3
+ permissions:
4
+ id-token: write
5
+ contents: write
6
+ pull-requests: write
7
+
3
8
  on:
4
9
  push:
5
10
  branches:
6
11
  - main
7
12
  repository_dispatch:
8
- types: ['deploy']
13
+ types: ["deploy"]
9
14
  workflow_dispatch:
10
15
 
11
16
  jobs:
12
17
  release:
13
18
  runs-on: ubuntu-latest
14
19
  steps:
15
- - uses: actions/checkout@v5
20
+ - uses: actions/checkout@v6
16
21
  with:
17
22
  persist-credentials: false
18
23
 
24
+ - uses: actions/setup-node@v6
25
+ with:
26
+ node-version: 24
27
+
19
28
  - uses: 1024pix/pix-actions/release@main
20
29
  with:
21
30
  npmPublish: true
22
31
  updateMajorVersion: true
23
32
  env:
24
- GITHUB_TOKEN: '${{ secrets.PIX_SERVICE_ACTIONS_TOKEN }}'
25
- NPM_TOKEN: ${{ secrets.NPM_PUBLISH_ACCESS_TOKEN }}
33
+ GITHUB_TOKEN: "${{ secrets.PIX_SERVICE_ACTIONS_TOKEN }}"
@@ -6,8 +6,8 @@ jobs:
6
6
  test:
7
7
  runs-on: ubuntu-latest
8
8
  steps:
9
- - uses: actions/checkout@v5
10
- - uses: actions/setup-node@v5
9
+ - uses: actions/checkout@v6
10
+ - uses: actions/setup-node@v6
11
11
  with:
12
12
  node-version-file: '.nvmrc'
13
13
 
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- 22.21.1
1
+ 24.12.0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,25 @@
1
+ ## [2.1.16](https://github.com/1024pix/eslint-plugin/compare/v2.1.15...v2.1.16) (2026-01-15)
2
+
3
+ ### :building_construction: Tech
4
+
5
+ - [#69](https://github.com/1024pix/eslint-plugin/pull/69) Supprime les règles de formattage dépréciées.
6
+
7
+ ## [2.1.15](https://github.com/1024pix/eslint-plugin/compare/v2.1.14...v2.1.15) (2025-12-31)
8
+
9
+ ### :building_construction: Tech
10
+
11
+ - [#67](https://github.com/1024pix/eslint-plugin/pull/67) Mise en place du trusted publishing de npm
12
+
13
+ ### :arrow_up: Montée de version
14
+
15
+ - [#66](https://github.com/1024pix/eslint-plugin/pull/66) Update actions/checkout action to v6 (workflows)
16
+ - [#62](https://github.com/1024pix/eslint-plugin/pull/62) Update actions/setup-node action to v6 (workflows)
17
+ - [#65](https://github.com/1024pix/eslint-plugin/pull/65) Update Node.js to v24
18
+
19
+ ### :coffee: Autre
20
+
21
+ - [#68](https://github.com/1024pix/eslint-plugin/pull/68) Active la règle interdisant les `console.xx`.
22
+
1
23
  ## [2.1.14](https://github.com/1024pix/eslint-plugin/compare/v2.1.13...v2.1.14) (2025-11-04)
2
24
 
3
25
  ### :arrow_up: Montée de version
package/config.js CHANGED
@@ -14,27 +14,8 @@ export default [
14
14
  'simple-import-sort': simpleImportSort,
15
15
  },
16
16
  rules: {
17
- 'arrow-parens': ['error', 'always'],
18
- 'comma-dangle': ['error', 'always-multiline'],
19
- 'computed-property-spacing': ['error', 'never'],
20
- 'eol-last': ['error'],
17
+ 'no-console': 'error',
21
18
  '@eslint-community/eslint-comments/no-unused-disable': ['error'],
22
- indent: [
23
- 'error',
24
- 2,
25
- {
26
- SwitchCase: 1,
27
- },
28
- ],
29
- 'keyword-spacing': ['error'],
30
- 'linebreak-style': ['error', 'unix'],
31
- 'no-multiple-empty-lines': [
32
- 'error',
33
- {
34
- max: 1,
35
- maxEOF: 1,
36
- },
37
- ],
38
19
  'no-restricted-syntax': [
39
20
  'error',
40
21
  {
@@ -55,34 +36,9 @@ export default [
55
36
  },
56
37
  ],
57
38
  'no-var': ['error'],
58
- 'object-curly-spacing': ['error', 'always'],
59
- 'padding-line-between-statements': [
60
- 'error',
61
- { blankLine: 'always', prev: 'block', next: 'block' },
62
- { blankLine: 'always', prev: 'function', next: 'function' },
63
- { blankLine: 'always', prev: 'class', next: 'function' }
64
- ],
65
39
  'prefer-const': ['error'],
66
- quotes: ['error', 'single'],
67
- semi: ['error', 'always'],
68
40
  'simple-import-sort/imports': 'error',
69
41
  'simple-import-sort/exports': 'error',
70
- 'space-before-blocks': ['error'],
71
- 'space-before-function-paren': [
72
- 'error',
73
- {
74
- anonymous: 'never',
75
- named: 'never',
76
- asyncArrow: 'ignore',
77
- },
78
- ],
79
- 'space-in-parens': ['error'],
80
- 'space-infix-ops': ['error'],
81
- 'func-call-spacing': ['error'],
82
- 'key-spacing': ['error'],
83
- 'comma-spacing': ['error'],
84
- 'no-trailing-spaces': ['error'],
85
- 'no-multi-spaces': ['error'],
86
42
  'yml/quotes': [
87
43
  'error',
88
44
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1024pix/eslint-plugin",
3
- "version": "2.1.14",
3
+ "version": "2.1.16",
4
4
  "description": "Des règles de lint pour les projets 1024pix",
5
5
  "type": "module",
6
6
  "engines": {
package/readme.md CHANGED
@@ -58,7 +58,7 @@ Sure, you can override the rules in your `eslint.config.js` file.
58
58
  const pixEslintConfig = require('@1024pix/eslint-plugin/config');
59
59
 
60
60
  module.exports = [
61
- ...eslintConfig,
61
+ ...pixEslintConfig,
62
62
  {
63
63
  rules: {
64
64
  // your rules...