@evaneos/front-config 0.0.2 → 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.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  @evaneos/front-config is the main resource for shared js/ts/tsx linting and config across Evaneos apps.
4
4
 
5
- ## Instal
5
+ ## Install
6
6
 
7
7
  ```shell
8
8
  npm install @evaneos/front-config@latest
@@ -14,7 +14,7 @@ npm install @evaneos/front-config@latest
14
14
 
15
15
  In your `eslint.config.js` file, add:
16
16
 
17
- ```json
17
+ ```js
18
18
  const evaneosConfig = require("@evaneos/front-config/linting/eslint.config.js")
19
19
  module.export = [
20
20
  ...evaneosConfig
@@ -1,9 +1,5 @@
1
- const importPlugin = require("eslint-plugin-import");
2
-
3
1
  module.exports = [
4
2
  {
5
- files: ["**/*.{ts,tsx}"],
6
- extends: [importPlugin.flatConfigs.recommended],
7
3
  rules: {
8
4
  "import/no-default-export": 2,
9
5
  "import/newline-after-import": 1,
@@ -1,15 +1,8 @@
1
1
  const reactPlugin = require("eslint-plugin-react");
2
- const hooksPlugin = require("eslint-plugin-react-hooks");
3
2
 
4
3
  module.exports = [
5
4
  reactPlugin.configs.flat.recommended,
6
5
  reactPlugin.configs.flat["jsx-runtime"],
7
- {
8
- plugins: {
9
- "react-hooks": hooksPlugin,
10
- },
11
- rules: hooksPlugin.configs.recommended.rules,
12
- },
13
6
  {
14
7
  rules: {
15
8
  "react-hooks/exhaustive-deps": 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evaneos/front-config",
3
- "version": "0.0.2",
3
+ "version": "1.0.2",
4
4
  "engines": {
5
5
  "node": ">=v18",
6
6
  "npm": ">=9"