@beauraines/bacon-ipsum-cli 0.1.2 → 0.1.4

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
@@ -2,7 +2,14 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
- ### 0.1.2 (2024-05-26)
5
+ ### [0.1.4](https://github.com/beauraines/bacon-ipsum-cli/compare/v0.1.3...v0.1.4) (2024-05-27)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * bad merge in eslint ([7c34b5d](https://github.com/beauraines/bacon-ipsum-cli/commit/7c34b5d24f6d4bcb4445e4a6fc9271a55a7c5d4d))
11
+
12
+ ### 0.1.3 (2024-05-26)
6
13
 
7
14
 
8
15
  ### Features
package/TODO.md CHANGED
@@ -5,3 +5,6 @@
5
5
  - [ ] Add debug
6
6
  - [ ] Add unit tests
7
7
  - [ ] Add completion command
8
+ - [x] Configure linter - 'dont warn for Node globals like console'
9
+ - [ ] Swith to ESM and import latest versions of dependencies
10
+ - [ ] Add README
package/eslint.config.mjs CHANGED
@@ -1,21 +1,20 @@
1
1
  import globals from "globals";
2
2
  import pluginJs from "@eslint/js";
3
- import jest from "eslint-plugin-jest";
3
+ import jestPlugin from "eslint-plugin-jest";
4
4
 
5
5
  export default [
6
- { files: ["**/*.js"], languageOptions: { sourceType: "commonjs" } },
7
- { languageOptions: { globals: globals.browser } },
6
+ {
7
+ files: ["**/*.js"],
8
+ languageOptions: { sourceType: "commonjs", globals: globals.nodeBuiltin}
9
+ },
10
+ { languageOptions: { ...jestPlugin.environments.globals } },
8
11
  pluginJs.configs.recommended,
9
12
  {
10
13
  plugins: {
11
- jest: jest
14
+ jest: jestPlugin
12
15
  },
13
16
  rules: {
14
- "jest/no-disabled-tests": "warn",
15
- "jest/no-focused-tests": "error",
16
- "jest/no-identical-title": "error",
17
- "jest/prefer-to-have-length": "warn",
18
- "jest/valid-expect": "error"
17
+ ...jestPlugin.configs.recommended.rules, // Use recommended rules from eslint-plugin-jest
19
18
  }
20
19
  }
21
20
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beauraines/bacon-ipsum-cli",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "CLI for Bacon Ipsum text",
5
5
  "main": "cli.js",
6
6
  "bin": {
@@ -24,8 +24,8 @@
24
24
  "devDependencies": {
25
25
  "@eslint/js": "^9.3.0",
26
26
  "eslint": "^9.3.0",
27
- "globals": "^15.3.0",
28
27
  "eslint-plugin-jest": "^28.5.0",
28
+ "globals": "^15.3.0",
29
29
  "jest": "^29.7.0",
30
30
  "should-release": "^1.2.0",
31
31
  "standard-version": "^9.5.0"