@tarsilla/eslint-config 1.0.4 → 1.0.6

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/README.md +12 -10
  2. package/package.json +10 -9
package/README.md CHANGED
@@ -30,6 +30,7 @@ yarn add --dev @tarsilla/eslint-config
30
30
  In your ESLint configuration (see .eslintrc.mjs), add the plugin to your plugins array:
31
31
 
32
32
  **Next.js Projects**
33
+
33
34
  ```js
34
35
  import { eslintNextConfig } from '@tarsilla/eslint-config/next';
35
36
 
@@ -39,6 +40,7 @@ export default [
39
40
  ];
40
41
  ```
41
42
  **React Projects**
43
+
42
44
  ```js
43
45
  import { eslintReactConfig } from '@tarsilla/eslint-config/react';
44
46
 
@@ -48,6 +50,7 @@ export default [
48
50
  ];
49
51
  ```
50
52
  **Typescript Library Projects**
53
+
51
54
  ```js
52
55
  import { eslintLibraryConfig } from '@tarsilla/eslint-config/library';
53
56
 
@@ -59,7 +62,15 @@ export default [
59
62
 
60
63
  ## Configuration Options
61
64
 
62
- You can pass options to adjust the behavior of the config. For example, in the Next.js configuration:
65
+ You can override default settings by creating passing options to the plugin.
66
+ The plugin accepts an object of type `EslintOptions`:
67
+
68
+ | Option | Type | Description | Default |
69
+ |----------|--------|--------------------------------------------------------------|-------------|
70
+ | ignores | string array | Array of paths to ignore during lint check. If not provided, the plugin will run in all files. | `undefined` |
71
+
72
+ Example `Next.js`:
73
+
63
74
  ```js
64
75
  import { eslintNextConfig } from '@tarsilla/eslint-config/next';
65
76
 
@@ -71,15 +82,6 @@ export default [
71
82
  ];
72
83
  ```
73
84
 
74
- ## Options
75
-
76
- The plugin accepts an options object of type `EslintOptions`:
77
-
78
- | Option | Type | Description | Default |
79
- |----------|--------|--------------------------------------------------------------|-------------|
80
- | ignores | string array | Array of paths to ignore during lint check. If not provided, the plugin will run in all files. | `undefined` |
81
-
82
-
83
85
  ## Contributing
84
86
 
85
87
  Contributions are welcome! Please ensure your pull request adheres to the project's linting and testing guidelines.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarsilla/eslint-config",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -55,28 +55,29 @@
55
55
  "eslint": "^9"
56
56
  },
57
57
  "dependencies": {
58
- "@eslint/eslintrc": "^3.3.0",
59
- "@eslint/js": "^9.22.0",
60
- "eslint-config-next": "^15.2.3",
58
+ "@eslint/eslintrc": "^3.3.1",
59
+ "@eslint/js": "^9.23.0",
60
+ "eslint-config-next": "^15.2.4",
61
61
  "eslint-config-prettier": "^10.1.1",
62
- "eslint-import-resolver-typescript": "^4.2.2",
62
+ "eslint-import-resolver-typescript": "^4.3.1",
63
63
  "eslint-plugin-import": "^2.31.0",
64
64
  "eslint-plugin-jest": "^28.11.0",
65
- "eslint-plugin-prettier": "^5.2.3",
65
+ "eslint-plugin-prettier": "^5.2.5",
66
66
  "eslint-plugin-react": "^7.37.4",
67
67
  "eslint-plugin-react-hooks": "^5.2.0",
68
68
  "eslint-plugin-unused-imports": "^4.1.4",
69
+ "globals": "^16.0.0",
69
70
  "prettier": "^3.5.3",
70
- "typescript-eslint": "^8.27.0"
71
+ "typescript-eslint": "^8.29.0"
71
72
  },
72
73
  "devDependencies": {
73
74
  "@rollup/plugin-commonjs": "^28.0.3",
74
75
  "@rollup/plugin-node-resolve": "^16.0.1",
75
76
  "@rollup/plugin-swc": "^0.4.0",
76
77
  "@rollup/plugin-terser": "^0.4.4",
77
- "@tarsilla/commit-wizard": "^1.0.4",
78
+ "@tarsilla/commit-wizard": "^1.1.2",
78
79
  "husky": "^9.1.7",
79
- "rollup": "^4.36.0",
80
+ "rollup": "^4.38.0",
80
81
  "rollup-plugin-dts": "^6.2.1",
81
82
  "rollup-plugin-peer-deps-external": "^2.2.4",
82
83
  "typescript": "^5.8.2"