@1024pix/eslint-plugin 2.0.0 → 2.0.2

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 CHANGED
@@ -1,3 +1,15 @@
1
+ ## [2.0.2](https://github.com/1024pix/eslint-plugin/compare/v2.0.1...v2.0.2) (2024-12-23)
2
+
3
+ ### :arrow_up: Montée de version
4
+
5
+ - [#45](https://github.com/1024pix/eslint-plugin/pull/45) Lock file maintenance (dossier racine)
6
+
7
+ ## [2.0.1](https://github.com/1024pix/eslint-plugin/compare/v2.0.0...v2.0.1) (2024-12-20)
8
+
9
+ ### :bug: Correction
10
+
11
+ - [#44](https://github.com/1024pix/eslint-plugin/pull/44) Conversion de la config en ESM
12
+
1
13
  # [2.0.0](https://github.com/1024pix/eslint-plugin/compare/v1.3.0...v2.0.0) (2024-12-19)
2
14
 
3
15
  ### :boom: BREAKING CHANGE
package/config.js CHANGED
@@ -1,12 +1,10 @@
1
- const { resolve } = require('node:path');
1
+ import js from '@eslint/js';
2
+ import comments from '@eslint-community/eslint-plugin-eslint-comments/configs';
3
+ import eslintPluginYml from 'eslint-plugin-yml';
4
+ import simpleImportSort from 'eslint-plugin-simple-import-sort';
5
+ import pixPlugin from './index.js';
2
6
 
3
- const js = require('@eslint/js');
4
- const comments = require('@eslint-community/eslint-plugin-eslint-comments/configs');
5
- const eslintPluginYml = require('eslint-plugin-yml');
6
- const simpleImportSort = require('eslint-plugin-simple-import-sort');
7
- const pixPlugin = require('./index.js');
8
-
9
- module.exports = [
7
+ export default [
10
8
  js.configs.recommended,
11
9
  ...eslintPluginYml.configs['flat/standard'],
12
10
  comments.recommended,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1024pix/eslint-plugin",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "Des règles de lint pour les projets 1024pix",
5
5
  "type": "module",
6
6
  "engines": {