picker-db 4.17.0 → 5.0.0

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/.nvmrc CHANGED
@@ -1 +1 @@
1
- v16.13.1
1
+ v22.14.0
@@ -0,0 +1,54 @@
1
+ import neostandard from "neostandard";
2
+ import babelParser from "@babel/eslint-parser";
3
+
4
+ export default [
5
+ {
6
+ ignores: ["build/*", "!build/index.js", "dist/*", "bundle.js", ".*/**", ".*"],
7
+ },
8
+ ...neostandard(),
9
+ {
10
+ languageOptions: {
11
+ parser: babelParser,
12
+ parserOptions: {
13
+ requireConfigFile: false,
14
+ ecmaVersion: 2018,
15
+ },
16
+ globals: {
17
+ // Node.js
18
+ process: "readonly",
19
+ require: "readonly",
20
+ module: "writable",
21
+ exports: "writable",
22
+ __dirname: "readonly",
23
+ __filename: "readonly",
24
+ // Mocha
25
+ describe: "readonly",
26
+ it: "readonly",
27
+ before: "readonly",
28
+ beforeEach: "readonly",
29
+ after: "readonly",
30
+ afterEach: "readonly",
31
+ },
32
+ },
33
+ rules: {
34
+ "no-console": "warn",
35
+ "no-use-before-define": "warn",
36
+ "no-var": "error",
37
+ "prefer-const": "error",
38
+ "capitalized-comments": ["error", "always"],
39
+ "@stylistic/spaced-comment": "warn",
40
+ "@stylistic/comma-dangle": [
41
+ "error",
42
+ {
43
+ arrays: "always-multiline",
44
+ objects: "always-multiline",
45
+ imports: "always-multiline",
46
+ exports: "always-multiline",
47
+ functions: "always-multiline",
48
+ },
49
+ ],
50
+ "@stylistic/quotes": ["error", "double"],
51
+ "@stylistic/semi": ["error", "always"],
52
+ },
53
+ },
54
+ ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "picker-db",
3
- "version": "4.17.0",
3
+ "version": "5.0.0",
4
4
  "description": "Picker DB services",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -9,17 +9,9 @@
9
9
  "author": "edison_andre_9@hotmail.com",
10
10
  "license": "ISC",
11
11
  "devDependencies": {
12
- "babel-eslint": "^10.1.0",
12
+ "@babel/eslint-parser": "^7.23.0",
13
13
  "chai": "^4.2.0",
14
- "eslint": "^7.9.0",
15
- "eslint-config-standard": "^14.1.1",
16
- "eslint-plugin-import": "^2.22.0",
17
- "eslint-plugin-node": "^11.1.0",
18
- "eslint-plugin-promise": "^4.2.1",
19
- "eslint-plugin-standard": "^4.0.1",
20
- "mocha": "^8.1.3",
21
- "nyc": "^15.1.0",
22
- "standard": "^14.3.4"
14
+ "neostandard": "^0.13.0"
23
15
  },
24
16
  "dependencies": {
25
17
  "lodash": "^4.17.20",
package/.eslintignore DELETED
@@ -1,9 +0,0 @@
1
- # /node_modules/* and /bower_components/* in the project root are ignored by default
2
- # Ignore built files except build/index.js
3
-
4
- build/*
5
- !build/index.js
6
- dist/*
7
- bundle.js
8
- .*/*
9
- .*
package/.eslintrc.json DELETED
@@ -1,35 +0,0 @@
1
- {
2
- "extends": [
3
- "standard"
4
- ],
5
- "parserOptions": {
6
- "ecmaVersion": 2018
7
- },
8
- "env": {
9
- "es6": true,
10
- "node": true,
11
- "mocha": true
12
- },
13
- "parser": "babel-eslint",
14
- "rules": {
15
- "no-console": "warn",
16
- "no-use-before-define": "warn",
17
- "spaced-comment": "warn",
18
- "comma-dangle": [
19
- "error",
20
- {
21
- "arrays": "always-multiline",
22
- "objects": "always-multiline",
23
- "imports": "always-multiline",
24
- "exports": "always-multiline",
25
- "functions": "always-multiline"
26
- }
27
- ],
28
- "quotes": ["error", "double"],
29
- "semi": ["error", "always"],
30
- "capitalized-comments": ["error", "always"],
31
- "no-var": "error",
32
- "prefer-const": "error"
33
- }
34
- }
35
-