@ethberry/eslint-config 5.0.1 → 5.0.3

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/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "author": {
3
- "email": "trejgun@gmail.com",
3
+ "email": "trejgun+opensource@gmail.com",
4
4
  "name": "TrejGun",
5
- "url": "https://trejgun.github.io/"
5
+ "url": "https://ethberry.io/"
6
6
  },
7
7
  "bugs": {
8
8
  "url": "https://github.com/ethberry/eslint-config/issues"
@@ -35,7 +35,7 @@
35
35
  "main": "./index.mjs",
36
36
  "name": "@ethberry/eslint-config",
37
37
  "publishConfig": {
38
- "registry": "https://registry.npmjs.org/"
38
+ "registry": "https://npm.pkg.github.com/"
39
39
  },
40
40
  "repository": {
41
41
  "type": "git",
@@ -47,5 +47,5 @@
47
47
  },
48
48
  "sideEffects": false,
49
49
  "title": "EthBerry ESLint config",
50
- "version": "5.0.1"
50
+ "version": "5.0.3"
51
51
  }
package/rules/node.mjs CHANGED
@@ -3,13 +3,17 @@ import nodePlugin from "eslint-plugin-n";
3
3
  export default [
4
4
  // base
5
5
  {
6
- files: ["**/*.{js,mjs,ts,mts}"],
6
+ files: ["**/*.{mjs,ts,mts}"],
7
7
  ...nodePlugin.configs["flat/recommended-module"],
8
8
  },
9
+ {
10
+ files: ["**/*.{js,cjs}"],
11
+ ...nodePlugin.configs["flat/recommended-script"],
12
+ },
9
13
 
10
14
  // overrides
11
15
  {
12
- files: ["**/*.{js,mjs,ts,mts}"],
16
+ files: ["**/*.{mjs,ts,mts}"],
13
17
  rules: {
14
18
  "n/exports-style": ["error", "exports"],
15
19
  },
@@ -1,12 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="WEB_MODULE" version="4">
3
- <component name="NewModuleRootManager">
4
- <content url="file://$MODULE_DIR$">
5
- <excludeFolder url="file://$MODULE_DIR$/temp" />
6
- <excludeFolder url="file://$MODULE_DIR$/.tmp" />
7
- <excludeFolder url="file://$MODULE_DIR$/tmp" />
8
- </content>
9
- <orderEntry type="inheritedJdk" />
10
- <orderEntry type="sourceFolder" forTests="false" />
11
- </component>
12
- </module>
@@ -1,6 +0,0 @@
1
- <component name="InspectionProjectProfileManager">
2
- <profile version="1.0">
3
- <option name="myName" value="Project Default" />
4
- <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
5
- </profile>
6
- </component>
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="JavaScriptLibraryMappings">
4
- <includedPredefinedLibrary name="Node.js Core" />
5
- </component>
6
- </project>
@@ -1,9 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="MarkdownSettings">
4
- <enabledExtensions>
5
- <entry key="MermaidLanguageExtension" value="false" />
6
- <entry key="PlantUMLLanguageExtension" value="false" />
7
- </enabledExtensions>
8
- </component>
9
- </project>
package/.idea/modules.xml DELETED
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/eslint-config.iml" filepath="$PROJECT_DIR$/.idea/eslint-config.iml" />
6
- </modules>
7
- </component>
8
- </project>
package/.idea/vcs.xml DELETED
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
- </component>
6
- </project>