@jobber/eslint-config 0.10.2-pre0.40 → 0.10.2

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/.eslintrc.js +12 -14
  2. package/package.json +13 -16
  3. package/CHANGELOG.md +0 -136
package/.eslintrc.js CHANGED
@@ -1,22 +1,16 @@
1
1
  module.exports = {
2
- env: { browser: true, es6: true },
2
+ env: { browser: true, es6: true, node: true },
3
3
  parser: "@typescript-eslint/parser",
4
4
  extends: [
5
5
  "eslint:recommended",
6
6
  "plugin:react/recommended",
7
7
  "plugin:@typescript-eslint/recommended",
8
- "prettier/@typescript-eslint",
8
+ "prettier",
9
9
  "plugin:prettier/recommended",
10
10
  "plugin:jest/recommended",
11
11
  "plugin:import/typescript",
12
12
  ],
13
- plugins: [
14
- "@typescript-eslint",
15
- "react",
16
- "prettier",
17
- "import",
18
- "jest",
19
- ],
13
+ plugins: ["@typescript-eslint", "react", "prettier", "import", "jest"],
20
14
  settings: {
21
15
  react: { version: "detect" },
22
16
  "import/resolver": { typescript: {} },
@@ -64,14 +58,18 @@ module.exports = {
64
58
  ],
65
59
  "@typescript-eslint/no-this-alias": "error",
66
60
  "@typescript-eslint/no-extraneous-class": "error",
67
- "@typescript-eslint/no-use-before-define": ["error", { functions: false }],
61
+ "@typescript-eslint/no-use-before-define": "off",
62
+ "@typescript-eslint/no-var-requires": "off",
68
63
  "@typescript-eslint/explicit-function-return-type": "off",
69
- "@typescript-eslint/no-unused-expressions": ["error", { allowShortCircuit: true }],
70
64
  "@typescript-eslint/no-unused-vars": "error",
71
65
  "@typescript-eslint/no-non-null-assertion": "error",
72
66
  "@typescript-eslint/consistent-type-definitions": ["error", "interface"],
73
- "@typescript-eslint/no-unused-expressions": ["error", { allowShortCircuit: true }],
67
+ "@typescript-eslint/no-unused-expressions": [
68
+ "error",
69
+ { allowShortCircuit: true },
70
+ ],
74
71
  "@typescript-eslint/no-empty-function": "error",
72
+ "@typescript-eslint/no-shadow": "error",
75
73
  curly: ["error", "multi-line", "consistent"],
76
74
  "prefer-const": "error",
77
75
  "dot-notation": "error",
@@ -81,14 +79,14 @@ module.exports = {
81
79
  "no-bitwise": "error",
82
80
  "no-caller": "error",
83
81
  "no-eval": "error",
84
- "no-shadow": "error",
82
+ "no-shadow": "off",
85
83
  "no-sequences": "error",
86
84
  "no-new-func": "error",
87
85
  "no-template-curly-in-string": "error",
88
86
  "no-return-await": "error",
89
87
  "no-throw-literal": "error",
90
88
  "no-unused-expressions": "off",
91
- "no-use-before-define": ["error", { functions: false, classes: false }],
89
+ "no-use-before-define": "off",
92
90
  "no-octal-escape": "error",
93
91
  "no-restricted-imports": ["error", { patterns: ["../*"] }],
94
92
  radix: "error",
package/package.json CHANGED
@@ -1,28 +1,25 @@
1
1
  {
2
2
  "name": "@jobber/eslint-config",
3
- "version": "0.10.2-pre0.40+6695bed1",
3
+ "version": "0.10.2",
4
4
  "main": ".eslintrc.js",
5
5
  "license": "MIT",
6
6
  "files": [
7
7
  "patch-eslint-plugin-resolution.js"
8
8
  ],
9
9
  "dependencies": {
10
- "@rushstack/eslint-patch": "^1.0.2",
11
- "@typescript-eslint/eslint-plugin": "^2.7.0",
12
- "@typescript-eslint/parser": "^2.29.0",
13
- "eslint-config-prettier": "^6.2.0",
14
- "eslint-import-resolver-typescript": "^1.1.1",
15
- "eslint-plugin-import": "^2.18.2",
16
- "eslint-plugin-jest": "^22.17.0",
17
- "eslint-plugin-prettier": "^3.0.1",
18
- "eslint-plugin-react": "^7.14.3",
19
- "prettier": "^2.4.1"
20
- },
21
- "devDependencies": {
22
- "eslint": "^6.3.0"
10
+ "@rushstack/eslint-patch": "^1.2.0",
11
+ "@typescript-eslint/eslint-plugin": "^5.55.0",
12
+ "@typescript-eslint/parser": "^5.55.0",
13
+ "eslint-config-prettier": "^8.7.0",
14
+ "eslint-import-resolver-typescript": "^3.5.3",
15
+ "eslint-plugin-import": "^2.27.5",
16
+ "eslint-plugin-jest": "^27.2.1",
17
+ "eslint-plugin-prettier": "^4.2.1",
18
+ "eslint-plugin-react": "^7.32.2",
19
+ "prettier": "^2.8.4"
23
20
  },
24
21
  "peerDependencies": {
25
- "eslint": "^6.3.0"
22
+ "eslint": ">=7.28.0"
26
23
  },
27
- "gitHead": "6695bed1d371d60cf3f6fa6a02c2819d576bf410"
24
+ "gitHead": "242a7bd413fd50faa31770a65cd8dc4d698aa928"
28
25
  }
package/CHANGELOG.md DELETED
@@ -1,136 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [0.10.1](https://github.com/GetJobber/atlantis/compare/@jobber/eslint-config@0.10.0...@jobber/eslint-config@0.10.1) (2023-02-28)
7
-
8
- **Note:** Version bump only for package @jobber/eslint-config
9
-
10
-
11
-
12
-
13
-
14
- # [0.10.0](https://github.com/GetJobber/atlantis/compare/@jobber/eslint-config@0.9.0...@jobber/eslint-config@0.10.0) (2023-02-24)
15
-
16
-
17
- ### Features
18
-
19
- * **components, design, build:** Atlantis typography feature branch ([#1021](https://github.com/GetJobber/atlantis/issues/1021)) ([15d5eba](https://github.com/GetJobber/atlantis/commit/15d5eba545096c122e238cec018abf0a00d04748)), closes [#976](https://github.com/GetJobber/atlantis/issues/976) [#978](https://github.com/GetJobber/atlantis/issues/978) [#985](https://github.com/GetJobber/atlantis/issues/985) [#950](https://github.com/GetJobber/atlantis/issues/950) [#953](https://github.com/GetJobber/atlantis/issues/953) [#960](https://github.com/GetJobber/atlantis/issues/960) [#963](https://github.com/GetJobber/atlantis/issues/963) [#890](https://github.com/GetJobber/atlantis/issues/890) [#964](https://github.com/GetJobber/atlantis/issues/964) [#954](https://github.com/GetJobber/atlantis/issues/954) [#968](https://github.com/GetJobber/atlantis/issues/968) [#959](https://github.com/GetJobber/atlantis/issues/959) [#972](https://github.com/GetJobber/atlantis/issues/972) [#973](https://github.com/GetJobber/atlantis/issues/973) [#975](https://github.com/GetJobber/atlantis/issues/975) [#974](https://github.com/GetJobber/atlantis/issues/974) [#979](https://github.com/GetJobber/atlantis/issues/979) [#971](https://github.com/GetJobber/atlantis/issues/971) [#983](https://github.com/GetJobber/atlantis/issues/983) [#986](https://github.com/GetJobber/atlantis/issues/986) [#952](https://github.com/GetJobber/atlantis/issues/952) [#988](https://github.com/GetJobber/atlantis/issues/988) [#990](https://github.com/GetJobber/atlantis/issues/990) [#993](https://github.com/GetJobber/atlantis/issues/993) [#989](https://github.com/GetJobber/atlantis/issues/989) [#992](https://github.com/GetJobber/atlantis/issues/992) [#995](https://github.com/GetJobber/atlantis/issues/995) [#994](https://github.com/GetJobber/atlantis/issues/994) [#996](https://github.com/GetJobber/atlantis/issues/996) [#991](https://github.com/GetJobber/atlantis/issues/991) [#1000](https://github.com/GetJobber/atlantis/issues/1000) [#998](https://github.com/GetJobber/atlantis/issues/998) [#1001](https://github.com/GetJobber/atlantis/issues/1001) [#1006](https://github.com/GetJobber/atlantis/issues/1006) [#1009](https://github.com/GetJobber/atlantis/issues/1009) [#1014](https://github.com/GetJobber/atlantis/issues/1014) [#1017](https://github.com/GetJobber/atlantis/issues/1017)
20
-
21
-
22
- ### BREAKING CHANGES
23
-
24
- * **components, design, build:** Added Jobber Fonts support
25
-
26
- * Remove file that was needed for major bump in design
27
-
28
- * Revert "update button styles"
29
-
30
- This reverts commit d5278133003f4f770af56d583ef104b5abc8b886.
31
-
32
- * Remove unneeded logging
33
-
34
- * Update install instructions for non-jobber developers
35
-
36
- * Changed how package works when being installed to better support non jobber devs.
37
-
38
- * Use variables in docz instead of a string
39
-
40
- * Remove change that caused failures for Jobber people
41
-
42
- * Moved script location
43
-
44
- * Maybe fix cloudflare builds. Hopefully
45
-
46
- * Update README.md
47
-
48
- * Updated prerelease docs.
49
- Verify fonts aren't bundled with pre-releases.
50
-
51
- * rebuild cloudflare
52
-
53
- Co-authored-by: Chris Murray <39704901+chris-at-jobber@users.noreply.github.com>
54
- Co-authored-by: Michael Paradis <michael.p@getjobber.com>
55
-
56
-
57
-
58
-
59
-
60
- # [0.9.0](https://github.com/GetJobber/atlantis/compare/@jobber/eslint-config@0.8.1...@jobber/eslint-config@0.9.0) (2022-09-23)
61
-
62
-
63
- ### Features
64
-
65
- * **eslint:** Update prettier to latest version ([#667](https://github.com/GetJobber/atlantis/issues/667)) ([84e5895](https://github.com/GetJobber/atlantis/commit/84e589542c642b27acd2997af7200b86ba197b7e))
66
-
67
-
68
-
69
-
70
-
71
- ## [0.8.1](https://github.com/GetJobber/atlantis/compare/@jobber/eslint-config@0.8.0...@jobber/eslint-config@0.8.1) (2021-09-15)
72
-
73
-
74
- ### Bug Fixes
75
-
76
- * **eslint:** Use [@typescript-eslint](https://github.com/typescript-eslint) extension rule for no-unused-expressions ([#306](https://github.com/GetJobber/atlantis/issues/306)) ([719bf42](https://github.com/GetJobber/atlantis/commit/719bf422bfd3b514526fb3eb6487b30b8b0810d3))
77
-
78
-
79
-
80
-
81
-
82
- # [0.8.0](https://github.com/GetJobber/atlantis/compare/@jobber/eslint-config@0.7.2...@jobber/eslint-config@0.8.0) (2021-06-30)
83
-
84
-
85
- ### Features
86
-
87
- * **components:** Refactor FormField ([#578](https://github.com/GetJobber/atlantis/issues/578)) ([cc5a709](https://github.com/GetJobber/atlantis/commit/cc5a7091f920909385ab8682f41ba7d2ff338bcd))
88
-
89
-
90
-
91
-
92
-
93
- ## [0.7.2](https://github.com/GetJobber/atlantis/compare/@jobber/eslint-config@0.7.1...@jobber/eslint-config@0.7.2) (2021-03-03)
94
-
95
- **Note:** Version bump only for package @jobber/eslint-config
96
-
97
-
98
-
99
-
100
-
101
- ## [0.7.1](https://github.com/GetJobber/atlantis/compare/@jobber/eslint-config@0.7.0...@jobber/eslint-config@0.7.1) (2021-02-01)
102
-
103
- **Note:** Version bump only for package @jobber/eslint-config
104
-
105
-
106
-
107
-
108
-
109
- # [0.7.0](https://github.com/GetJobber/atlantis/compare/@jobber/eslint-config@0.6.0...@jobber/eslint-config@0.7.0) (2020-06-30)
110
-
111
-
112
- ### Features
113
-
114
- * Add resolution patch support for eslint 7 ([#294](https://github.com/GetJobber/atlantis/issues/294)) ([5709438](https://github.com/GetJobber/atlantis/commit/57094387763c13e387c0ed50002e66fb7793ead9))
115
-
116
-
117
-
118
-
119
-
120
- # [0.6.0](https://github.com/GetJobber/atlantis/compare/@jobber/eslint-config@0.5.0...@jobber/eslint-config@0.6.0) (2020-06-26)
121
-
122
-
123
- ### Features
124
-
125
- * **eslint:** Add new rules for enforcing interface for object types and enforcing function declaration ([#260](https://github.com/GetJobber/atlantis/issues/260)) ([2c07f42](https://github.com/GetJobber/atlantis/commit/2c07f42bb7b9bf5dd8e949dc2994286de9ca1c79))
126
-
127
-
128
-
129
-
130
-
131
- # [0.5.0](https://github.com/GetJobber/atlantis/compare/@jobber/eslint-config@0.4.1...@jobber/eslint-config@0.5.0) (2020-04-23)
132
-
133
-
134
- ### Features
135
-
136
- * **components:** Add ProgressBar Component ([#206](https://github.com/GetJobber/atlantis/issues/206)) ([32c8fb0](https://github.com/GetJobber/atlantis/commit/32c8fb03fc0b67f2eccfaf3915e6fa036860e4f9))