@becklyn/eslint 1.0.0 → 1.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @becklyn/eslint@1.0.0 test
2
+ > @becklyn/eslint@1.0.2 test
3
3
  > echo "Error: no test specified" && exit 0
4
4
 
5
5
  Error: no test specified
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @becklyn/eslint
2
2
 
3
+ ## 1.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 167b1e0: Fix typo in package.json
8
+
9
+ ## 1.0.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 31d0379: Fix eslint config
14
+
3
15
  ## 1.0.0
4
16
 
5
17
  ### Major Changes
package/base.js CHANGED
@@ -2,7 +2,6 @@ import js from "@eslint/js";
2
2
  import eslintConfigPrettier from "eslint-config-prettier";
3
3
  import turboPlugin from "eslint-plugin-turbo";
4
4
  import tseslint from "typescript-eslint";
5
- import onlyWarn from "eslint-plugin-only-warn";
6
5
  import importAlias from "@limegrass/import-alias";
7
6
 
8
7
  /**
@@ -11,31 +10,31 @@ import importAlias from "@limegrass/import-alias";
11
10
  * @type {import("eslint").Linter.Config}
12
11
  * */
13
12
  export const config = [
14
- js.configs.recommended,
15
- eslintConfigPrettier,
16
- ...tseslint.configs.recommended,
17
- {
18
- plugins: {
19
- "@limegrass/import-alias": importAlias,
13
+ js.configs.recommended,
14
+ eslintConfigPrettier,
15
+ ...tseslint.configs.recommended,
16
+ {
17
+ plugins: {
18
+ "@limegrass/import-alias": importAlias,
19
+ },
20
+ rules: {
21
+ "@limegrass/import-alias/import-alias": [
22
+ "error",
23
+ {
24
+ relativeImportOverrides: [{ path: ".", depth: 0 }],
25
+ },
26
+ ],
27
+ },
20
28
  },
21
- rules: {
22
- "@limegrass/import-alias/import-alias": "error",
29
+ {
30
+ plugins: {
31
+ turbo: turboPlugin,
32
+ },
33
+ rules: {
34
+ "turbo/no-undeclared-env-vars": "warn",
35
+ },
23
36
  },
24
- },
25
- {
26
- plugins: {
27
- turbo: turboPlugin,
37
+ {
38
+ ignores: ["dist/**"],
28
39
  },
29
- rules: {
30
- "turbo/no-undeclared-env-vars": "warn",
31
- },
32
- },
33
- {
34
- plugins: {
35
- onlyWarn,
36
- },
37
- },
38
- {
39
- ignores: ["dist/**"],
40
- },
41
40
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@becklyn/eslint",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "license": "MIT",
5
5
  "description": "the eslint-config base we use for our TypeScript apps",
6
6
  "homepage": "https://github.com/Becklyn-Studios/ts-libs",
@@ -10,7 +10,7 @@
10
10
  "directory": "packages/eslint-config"
11
11
  },
12
12
  "type": "module",
13
- "expo<rts": {
13
+ "exports": {
14
14
  "./base": "./base.js",
15
15
  "./next-js": "./next.js",
16
16
  "./react-internal": "./react-internal.js"