@4mbl/lint 0.0.0-beta.585cf05 → 0.0.0-beta.5de2cfe
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 +12 -0
- package/package.json +3 -2
- package/src/react.ts +3 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@4mbl/lint",
|
|
3
|
-
"version": "0.0.0-beta.
|
|
3
|
+
"version": "0.0.0-beta.5de2cfe",
|
|
4
4
|
"description": "Linting configuration for various environments.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "4mbl",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"homepage": "https://github.com/4mbl/config/tree/main/packages/lint#readme",
|
|
9
9
|
"exports": {
|
|
10
|
-
"./next": "./src/next.ts"
|
|
10
|
+
"./next": "./src/next.ts",
|
|
11
|
+
"./react": "./src/react.ts"
|
|
11
12
|
},
|
|
12
13
|
"files": [
|
|
13
14
|
"src",
|
package/src/react.ts
CHANGED
|
@@ -2,10 +2,12 @@ import js from '@eslint/js';
|
|
|
2
2
|
import prettier from 'eslint-config-prettier/flat';
|
|
3
3
|
import reactHooks from 'eslint-plugin-react-hooks';
|
|
4
4
|
import reactRefresh from 'eslint-plugin-react-refresh';
|
|
5
|
-
import { defineConfig, globalIgnores } from 'eslint/config';
|
|
5
|
+
import { defineConfig, globalIgnores, type Config } from 'eslint/config';
|
|
6
6
|
import globals from 'globals';
|
|
7
7
|
import tseslint from 'typescript-eslint';
|
|
8
8
|
|
|
9
|
+
export { Config };
|
|
10
|
+
|
|
9
11
|
export default defineConfig([
|
|
10
12
|
js.configs.recommended,
|
|
11
13
|
tseslint.configs.recommended,
|