eslint-config-tungsten-flat 0.3.0 → 0.3.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.
Files changed (2) hide show
  1. package/dist/index.js +7 -7
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { defineConfig, globalIgnores } from 'eslint/config';
2
2
  //export type { CompatibleConfigArray } from 'typescript-eslint' // would use this instead of `as ConfigArray` if typescript-eslint exported this type
3
- import tungstenJs from 'eslint-config-tungsten-js-flat';
3
+ import tungstenBase from 'eslint-config-tungsten-base-flat';
4
4
  import tseslint from 'typescript-eslint';
5
5
  export default defineConfig([
6
6
  {
7
- extends: [tungstenJs]
7
+ extends: [tungstenBase]
8
8
  },
9
9
  //...tungstenJs,
10
10
  ///...tseslint.configs.recommended,
@@ -30,14 +30,14 @@ export default defineConfig([
30
30
  globalIgnores([".tungsten"]),
31
31
  {
32
32
  "rules": {
33
- "prefer-const": "warn", // this is set in tungsten-js already, but for some reason gets reset to error
33
+ "prefer-const": "warn", // this is set in tungsten-base already, but for some reason gets reset to error
34
34
  // //// style
35
- // "no-trailing-spaces" : ["warn", {
36
- // "skipBlankLines": true,
35
+ // "no-trailing-spaces" : ["warn", {
36
+ // "skipBlankLines": true,
37
37
  // "ignoreComments": true
38
38
  // }],
39
- "import-x/no-unresolved": "off", // bugs out with typescript, + typescript does this already
40
- "import-x/extensions": ["off"], // imports of external packages may require extension-less imports due to exports config
39
+ // no import rules to disable - the base carries none, and this config
40
+ // deliberately does not take eslint-config-tungsten-js-flat
41
41
  //"@typescript-eslint/ban-types": "warn", // removed
42
42
  // which one to use? this had warn, but a project had it off
43
43
  "@typescript-eslint/no-empty-object-type": "warn",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-tungsten-flat",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -11,11 +11,11 @@
11
11
  "author": "",
12
12
  "license": "ISC",
13
13
  "dependencies": {
14
- "eslint-config-tungsten-js-flat": "^0.3.0",
15
- "typescript-eslint": "^8.57.1"
14
+ "eslint-config-tungsten-base-flat": "^0.3.1",
15
+ "typescript-eslint": "^8.69.0"
16
16
  },
17
17
  "peerDependencies": {
18
- "eslint": "^9.0.0 || ^10.0.0"
18
+ "eslint": "^9.0.0"
19
19
  },
20
20
  "__OldPeerDependencies": {
21
21
  "@babel/core": "^7.18.5",
@@ -25,8 +25,8 @@
25
25
  "eslint-plugin-import": "^2.26.0"
26
26
  },
27
27
  "devDependencies": {
28
- "@types/node": "^22.19.15",
29
- "eslint": "^9.39.4",
28
+ "@types/node": "^22.20.1",
29
+ "eslint": "^9.39.5",
30
30
  "typescript": "^5.9.3"
31
31
  },
32
32
  "scripts": {