@tim-code/eslint-config 0.5.9 → 0.5.14

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.
@@ -1,7 +1,3 @@
1
- /* eslint-disable no-inline-comments */
2
- /* eslint-disable line-comment-position */
3
- /* global module */
4
-
5
1
  module.exports = {
6
2
  env: {
7
3
  // es6 seems to be needed for Promise
@@ -20,7 +16,7 @@ module.exports = {
20
16
  extends: ["eslint:all", "prettier", "plugin:import/recommended"],
21
17
  overrides: [
22
18
  {
23
- files: ["**/*.test.*"],
19
+ files: ["**/*.test.*", "**/test/**"],
24
20
  env: {
25
21
  jest: true,
26
22
  },
@@ -89,5 +85,7 @@ module.exports = {
89
85
  "capitalized-comments": "off", // comments are not always sentences
90
86
  "prefer-named-capture-group": "off", // named capture groups are too new
91
87
  "no-continue": "off", // continue is a useful language feature
88
+ "no-inline-comments": "off", // not adhered to in this file for example
89
+ "line-comment-position": "off", // relates to above rule
92
90
  },
93
91
  }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@tim-code/eslint-config",
3
- "version": "0.5.9",
3
+ "version": "0.5.14",
4
4
  "description": "",
5
- "main": "",
5
+ "main": ".eslintrc.js",
6
6
  "author": "",
7
7
  "license": "MIT",
8
8
  "dependencies": {