@pumpn/eslint-config 11.0.1 → 11.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/.np-config.cjs ADDED
@@ -0,0 +1 @@
1
+ module.exports = require("@pumpn/np-config");
package/config.js CHANGED
@@ -44,7 +44,7 @@ export default [
44
44
  babelrc: false,
45
45
  configFile: false,
46
46
  presets: ["@babel/preset-react"],
47
- plugins: ["@babel/plugin-syntax-import-assertions"]
47
+ plugins: ["@babel/plugin-syntax-import-assertions", "@babel/plugin-proposal-export-default-from"]
48
48
  }
49
49
  }
50
50
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pumpn/eslint-config",
3
- "version": "11.0.1",
3
+ "version": "11.0.2",
4
4
  "description": "standard eslint config for pumpn code projects",
5
5
  "main": "config.js",
6
6
  "author": "Nano Miratus <nanomiratus@gmail.com>",
@@ -11,14 +11,18 @@
11
11
  "scripts": {
12
12
  "lint": "eslint .",
13
13
  "prepublish": "npm run lint",
14
- "release": "npm publish"
14
+ "release": "np",
15
+ "test": "echo 'no tests yet'"
15
16
  },
16
17
  "devDependencies": {
18
+ "@pumpn/np-config": "^2.3.2",
17
19
  "eslint": "^8.35.0",
18
- "eslint-plugin-react": "*"
20
+ "eslint-plugin-react": "*",
21
+ "np": "^7.6.3"
19
22
  },
20
23
  "dependencies": {
21
24
  "@babel/eslint-parser": "^7.19.1",
25
+ "@babel/plugin-proposal-export-default-from": "^7.18.10",
22
26
  "@babel/plugin-syntax-import-assertions": "^7.20.0",
23
27
  "@babel/preset-react": "^7.18.6",
24
28
  "@eslint/js": "^8.35.0",
package/.ls-lint.yml DELETED
@@ -1,6 +0,0 @@
1
- ls:
2
- .js: kebab-case
3
-
4
- ignore:
5
- - .git
6
- - node_modules
package/.tool-versions DELETED
@@ -1 +0,0 @@
1
- nodejs 19.6.1
@@ -1,6 +0,0 @@
1
- {
2
- "recommendations": [
3
- "dbaeumer.vscode-eslint",
4
- "eamodio.gitlens"
5
- ]
6
- }
@@ -1,20 +0,0 @@
1
- {
2
- "editor.defaultFormatter": "dbaeumer.vscode-eslint",
3
- "editor.detectIndentation": false,
4
- "editor.formatOnSave": true,
5
- "editor.insertSpaces": false,
6
- "editor.tabSize": 4,
7
- "editor.useTabStops": false,
8
- "eslint.codeActionsOnSave.mode": "all",
9
- "eslint.enable": true,
10
- "eslint.experimental.useFlatConfig": true,
11
- "eslint.format.enable": true,
12
- "eslint.validate": [
13
- "javascript",
14
- "javascriptreact",
15
- "typescript",
16
- "typescriptreact"
17
- ],
18
- "files.insertFinalNewline": false,
19
- "files.trimFinalNewlines": true
20
- }
package/eslint.config.js DELETED
@@ -1,3 +0,0 @@
1
- import config from "./config.js";
2
-
3
- export default [...config];