@4mbl/lint 0.0.0-beta.d17fc69 → 0.0.0-beta.d55fc18

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,12 +1,5 @@
1
1
  # @4mbl/lint
2
2
 
3
- ## 0.3.0
4
-
5
- ### Minor Changes
6
-
7
- - 6d969e6: Add react template
8
- - 6d969e6: Upgrade eslint and config dependencies
9
-
10
3
  ## 0.2.1
11
4
 
12
5
  ### Patch Changes
package/README.md CHANGED
@@ -44,11 +44,10 @@ publicHoistPattern:
44
44
  There is currently one config template.
45
45
 
46
46
  - **Next** - Linting configuration extending the Next.js default config.
47
- - **React** - Linting configuration extending the Vite-React default config.
48
47
 
49
48
  ## Versioning
50
49
 
51
- _Until v1.0.0 is released, breaking changes may be introduced in minor releases without prior warnings._
50
+ **Until v1.0.0 is released, breaking changes may be introduced in minor releases without prior warnings.**
52
51
 
53
52
  The package follows the following versioning scheme: `X.Y.Z`.
54
53
 
package/package.json CHANGED
@@ -1,14 +1,13 @@
1
1
  {
2
2
  "name": "@4mbl/lint",
3
- "version": "0.0.0-beta.d17fc69",
3
+ "version": "0.0.0-beta.d55fc18",
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",
11
- "./react": "./src/react.ts"
10
+ "./next": "./src/next.ts"
12
11
  },
13
12
  "files": [
14
13
  "src",
@@ -31,8 +30,6 @@
31
30
  "eslint-config-prettier": "^10.1.8",
32
31
  "eslint-plugin-react-compiler": "19.1.0-rc.2",
33
32
  "eslint-plugin-react-hooks": "^7.0.1",
34
- "eslint-plugin-react-refresh": "^0.4.24",
35
- "globals": "^16.5.0",
36
33
  "jiti": "^2.6.1",
37
34
  "typescript-eslint": "^8.47.0"
38
35
  },
package/src/next.ts CHANGED
@@ -2,11 +2,11 @@
2
2
  import js from '@eslint/js';
3
3
  import nextVitals from 'eslint-config-next/core-web-vitals';
4
4
  import nextTs from 'eslint-config-next/typescript';
5
- import prettier from 'eslint-config-prettier/flat';
6
5
  import * as reactCompiler from 'eslint-plugin-react-compiler';
7
- import reactHooks from 'eslint-plugin-react-hooks';
8
- import { Config, defineConfig, globalIgnores } from 'eslint/config';
6
+ import { defineConfig, globalIgnores, Config } from 'eslint/config';
9
7
  import tseslint from 'typescript-eslint';
8
+ import prettier from 'eslint-config-prettier/flat';
9
+ import reactHooks from 'eslint-plugin-react-hooks';
10
10
 
11
11
  export { Config };
12
12
 
package/src/react.ts DELETED
@@ -1,32 +0,0 @@
1
- import js from '@eslint/js';
2
- import prettier from 'eslint-config-prettier/flat';
3
- import reactHooks from 'eslint-plugin-react-hooks';
4
- import reactRefresh from 'eslint-plugin-react-refresh';
5
- import { defineConfig, globalIgnores } from 'eslint/config';
6
- import globals from 'globals';
7
- import tseslint from 'typescript-eslint';
8
-
9
- export default defineConfig([
10
- js.configs.recommended,
11
- tseslint.configs.recommended,
12
-
13
- reactHooks.configs.flat.recommended,
14
- reactRefresh.configs.recommended,
15
-
16
- globalIgnores(['dist']),
17
- {
18
- files: ['**/*.{ts,tsx}'],
19
- languageOptions: {
20
- ecmaVersion: 2020,
21
- globals: globals.browser,
22
- },
23
- rules: {
24
- 'react-refresh/only-export-components': [
25
- 'warn',
26
- { allowConstantExport: true },
27
- ],
28
- },
29
- },
30
-
31
- prettier,
32
- ]);