@paratco/eslint-config 0.7.3 → 0.7.5

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/index.js CHANGED
@@ -1,13 +1,15 @@
1
- import baseConfig from "./src/configs/base.js";
2
- import reactConfig from "./src/configs/react.js";
3
- import nodeConfig from "./src/configs/node.js";
4
- import prettierFormatter from "./src/configs/prettierFormatter.js";
5
- import stylisticFormatter from "./src/configs/stylisticFormatter.js";
6
-
7
- export default {
8
- base: baseConfig,
9
- react: reactConfig,
10
- node: nodeConfig,
11
- prettierFormatter,
12
- stylisticFormatter
13
- };
1
+ import baseConfig from "./src/configs/base.js";
2
+ import reactConfig from "./src/configs/react.js";
3
+ import nodeConfig from "./src/configs/node.js";
4
+ import importConfig from "./src/configs/import.js";
5
+ import prettierFormatter from "./src/configs/prettierFormatter.js";
6
+ import stylisticFormatter from "./src/configs/stylisticFormatter.js";
7
+
8
+ export default {
9
+ base: baseConfig,
10
+ react: reactConfig,
11
+ node: nodeConfig,
12
+ import: importConfig,
13
+ prettierFormatter,
14
+ stylisticFormatter
15
+ };
package/package.json CHANGED
@@ -1,39 +1,41 @@
1
- {
2
- "name": "@paratco/eslint-config",
3
- "version": "0.7.3",
4
- "type": "module",
5
- "main": "index.js",
6
- "author": "Paratco",
7
- "license": "ISC",
8
- "description": "Paratco ESLint Config",
9
- "repository": "git@github.com/Paratco/javascript.git",
10
- "keywords": [
11
- "eslint",
12
- "eslint-config",
13
- "react",
14
- "node",
15
- "node.js",
16
- "lint"
17
- ],
18
- "scripts": {
19
- "lint": "eslint . --report-unused-disable-directives-severity error --max-warnings 0",
20
- "format": "prettier --write src/"
21
- },
22
- "peerDependencies": {
23
- "eslint": "^8.57.0",
24
- "prettier": "^3.3.2",
25
- "typescript-eslint": "^7.16.0"
26
- },
27
- "dependencies": {
28
- "@eslint/js": "^9.6.0",
29
- "@stylistic/eslint-plugin": "^2.3.0",
30
- "@types/eslint__js": "^8.42.3",
31
- "eslint-config-prettier": "^9.1.0",
32
- "eslint-import-resolver-typescript": "^3.6.1",
33
- "eslint-plugin-import": "^2.29.1",
34
- "eslint-plugin-react": "^7.34.3",
35
- "eslint-plugin-react-hooks": "^4.6.2",
36
- "eslint-plugin-react-refresh": "^0.4.7",
37
- "globals": "^15.8.0"
38
- }
39
- }
1
+ {
2
+ "name": "@paratco/eslint-config",
3
+ "version": "0.7.5",
4
+ "type": "module",
5
+ "main": "index.js",
6
+ "author": "Paratco",
7
+ "license": "ISC",
8
+ "description": "Paratco ESLint Config",
9
+ "repository": "git@github.com/Paratco/javascript.git",
10
+ "keywords": [
11
+ "eslint",
12
+ "eslint-config",
13
+ "react",
14
+ "node",
15
+ "node.js",
16
+ "lint"
17
+ ],
18
+ "scripts": {
19
+ "lint": "eslint . --report-unused-disable-directives-severity error --max-warnings 0",
20
+ "format": "prettier --write src/"
21
+ },
22
+ "peerDependencies": {
23
+ "eslint": "^8.57.0",
24
+ "typescript-eslint": "^7.16.0"
25
+ },
26
+ "optionalDependencies": {
27
+ "prettier": "^3.3.2"
28
+ },
29
+ "dependencies": {
30
+ "@eslint/js": "^9.6.0",
31
+ "@stylistic/eslint-plugin": "^2.3.0",
32
+ "@types/eslint__js": "^8.42.3",
33
+ "eslint-config-prettier": "^9.1.0",
34
+ "eslint-import-resolver-typescript": "^3.6.1",
35
+ "eslint-plugin-import": "^2.29.1",
36
+ "eslint-plugin-react": "^7.34.3",
37
+ "eslint-plugin-react-hooks": "^4.6.2",
38
+ "eslint-plugin-react-refresh": "^0.4.7",
39
+ "globals": "^15.8.0"
40
+ }
41
+ }
@@ -1,10 +1,8 @@
1
1
  import globals from "globals";
2
2
  import baseConfig from "./base.js";
3
- import importConfig from "./import.js";
4
3
 
5
4
  export default [
6
5
  ...baseConfig,
7
- ...importConfig,
8
6
 
9
7
  // Node Only
10
8
  { languageOptions: { globals: globals.node } }
@@ -1,6 +1,5 @@
1
1
  import globals from "globals";
2
2
  import baseConfig from "./base.js";
3
- import importConfig from "./import.js";
4
3
 
5
4
  // Plugins
6
5
  import react from "eslint-plugin-react";
@@ -12,7 +11,6 @@ import reactRules from "../lints/react/index.js";
12
11
 
13
12
  export default [
14
13
  ...baseConfig,
15
- ...importConfig,
16
14
 
17
15
  // Browser Only
18
16
  { languageOptions: { globals: globals.browser } },
@@ -97,7 +97,7 @@ export default {
97
97
 
98
98
  // https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/dynamic-import-chunkname.md
99
99
  // Enforce a leading comment with the webpackChunkName for dynamic imports.
100
- "import/dynamic-import-chunkname": ["error"],
100
+ "import/dynamic-import-chunkname": ["off"],
101
101
 
102
102
  // https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/exports-last.md
103
103
  // Ensure all exports appear after other statements.