@tim-code/eslint-config 1.3.3 → 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.
Files changed (2) hide show
  1. package/.eslintrc.js +8 -0
  2. package/package.json +1 -1
package/.eslintrc.js CHANGED
@@ -20,6 +20,12 @@ module.exports = {
20
20
  env: {
21
21
  jest: true,
22
22
  },
23
+ rules: {
24
+ "max-lines": "off", // test files should not be split up based on length
25
+ "max-lines-per-function": "off", // describe blocks can be quite long; doesn't make sense to split up
26
+ "no-restricted-syntax": "off", // allow null in tests
27
+ "require-unicode-regexp": "off", // regexes are pretty common in Jest; useless rule but annoying
28
+ },
23
29
  },
24
30
  {
25
31
  files: ["**/frontend/**"],
@@ -30,7 +36,9 @@ module.exports = {
30
36
  ],
31
37
  settings: {
32
38
  "import/resolver": {
39
+ // default resolver provided by eslint-plugin-import
33
40
  node: {},
41
+ // "eslint-import-resolver-exports" plugin
34
42
  exports: {},
35
43
  },
36
44
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tim-code/eslint-config",
3
- "version": "1.3.3",
3
+ "version": "1.4.0",
4
4
  "description": "",
5
5
  "main": ".eslintrc.js",
6
6
  "author": "",