@friggframework/eslint-config 1.0.2 → 1.0.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.
Files changed (3) hide show
  1. package/README.md +3 -0
  2. package/index.js +1 -2
  3. package/package.json +9 -9
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # eslint-config
2
+
3
+ This package exports the default `eslint-config` settings used in [Frigg](https://friggframework.org). You can find its documentation [on Frigg's website](https://docs.friggframework.org/packages/eslint-config).
package/index.js CHANGED
@@ -25,7 +25,6 @@ module.exports = {
25
25
  },
26
26
  ],
27
27
  rules: {
28
- indent: ['error', 4],
29
28
  'no-only-tests/no-only-tests': ['error', { fix: false }],
30
29
  'no-unused-vars': [
31
30
  'warn',
@@ -33,7 +32,7 @@ module.exports = {
33
32
  ],
34
33
  'no-console': ['warn'],
35
34
  camelcase: ['warn'],
36
- 'no-mixed-requires': ['error'],
35
+ 'no-mixed-requires': ['warn'],
37
36
  'no-warning-comments': ['warn'],
38
37
  },
39
38
  };
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@friggframework/eslint-config",
3
- "version": "1.0.2",
3
+ "version": "1.0.5",
4
4
  "prettier": "@friggframework/prettier-config",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "dependencies": {
8
- "@babel/eslint-parser": "^7.16.5",
9
- "eslint": "^7.32.0",
10
- "eslint-config-prettier": "^8.3.0",
8
+ "@babel/eslint-parser": "^7.18.9",
9
+ "eslint": "^8.22.0",
10
+ "eslint-config-prettier": "^8.5.0",
11
11
  "eslint-plugin-json": "^3.1.0",
12
- "eslint-plugin-markdown": "^2.2.1",
13
- "eslint-plugin-no-only-tests": "^2.6.0",
12
+ "eslint-plugin-markdown": "^3.0.0",
13
+ "eslint-plugin-no-only-tests": "^3.0.0",
14
14
  "eslint-plugin-yaml": "^0.5.0"
15
15
  },
16
16
  "devDependencies": {
17
- "jest": "^27.4.7",
18
- "prettier": "^2.5.1"
17
+ "jest": "^28.1.3",
18
+ "prettier": "^2.7.1"
19
19
  },
20
20
  "scripts": {
21
- "lint:fix": "prettier --write --loglevel error . &&eslint . --fix",
21
+ "lint:fix": "prettier --write --loglevel error &&eslint . --fix",
22
22
  "test": "jest --passWithNoTests # TODO"
23
23
  },
24
24
  "author": "",