@neovici/cfg 1.0.1 → 1.4.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/eslint/index.js CHANGED
@@ -213,5 +213,11 @@ module.exports = {
213
213
  'switch-colon-spacing': 'error',
214
214
  'template-curly-spacing': ['error', 'always'],
215
215
  'valid-jsdoc': 'error'
216
- }
216
+ },
217
+ overrides: [
218
+ {
219
+ files: ['**/*.test.js'],
220
+ extends: './test'
221
+ }
222
+ ]
217
223
  };
File without changes
package/index.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neovici/cfg",
3
- "version": "1.0.1",
3
+ "version": "1.4.0",
4
4
  "description": "Configuration for Neovici packages",
5
5
  "homepage": "https://github.com/Neovici/cfg#readme",
6
6
  "bugs": {
@@ -12,12 +12,15 @@
12
12
  },
13
13
  "license": "Apache-2.0",
14
14
  "author": "Neovici dev",
15
- "main": "eslint/index.js",
15
+ "main": "index.js",
16
16
  "files": [
17
- "eslint/*.js"
17
+ "eslint/*.js",
18
+ "prettier/*.js",
19
+ "*.js"
18
20
  ],
19
21
  "scripts": {
20
- "test": "eslint eslint/*.js"
22
+ "test:eslint": "eslint *.js eslint/*.js",
23
+ "test": "npm run test:eslint"
21
24
  },
22
25
  "release": {
23
26
  "plugins": [
@@ -49,7 +52,8 @@
49
52
  "eslint": "^8.2.0",
50
53
  "eslint-plugin-html": "^6.2.0",
51
54
  "eslint-plugin-import": "^2.25.0",
52
- "eslint-plugin-mocha": "^10.0.0"
55
+ "eslint-plugin-mocha": "^10.0.0",
56
+ "prettier": "^2.5.1"
53
57
  },
54
58
  "devDependencies": {
55
59
  "@commitlint/cli": "^14.0.0",
@@ -0,0 +1,4 @@
1
+ module.exports = {
2
+ singleQuote: true,
3
+ useTabs: true
4
+ }