@valora/eslint-config-typescript 1.0.2 → 1.1.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/README.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # @valora/eslint-config-typescript
2
2
 
3
+ [![GitHub License](https://img.shields.io/github/license/valora-inc/eslint-config-typescript?color=blue)](https://github.com/valora-inc/eslint-config-typescript/blob/main/LICENSE)
4
+ [![npm version](https://img.shields.io/npm/v/@valora/eslint-config-typescript.svg)](https://www.npmjs.com/package/@valora/eslint-config-typescript)
5
+ [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/valora-inc/eslint-config-typescript/Workflow/main)](https://github.com/valora-inc/eslint-config-typescript/actions/workflows/workflow.yaml?query=branch%3Amain)
6
+ [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/valora-inc/eslint-config-typescript#contributing)
7
+
3
8
  Shareable ESLint config for Valora TypeScript packages.
4
9
 
5
10
  ## Installing
@@ -42,6 +47,10 @@ module.exports = {
42
47
 
43
48
  ESLint [Shareable Configs](https://eslint.org/docs/developer-guide/shareable-configs).
44
49
 
45
- ## Publishing
50
+ ## Contributing
46
51
 
47
- Run `yarn release` and follow the instructions.
52
+ - [Reporting issues](https://github.com/valora-inc/eslint-config-typescript/issues)
53
+ - [Submitting a pull request](https://github.com/valora-inc/eslint-config-typescript/pulls)
54
+ - Publishing updates is done automatically via [semantic-release](https://github.com/semantic-release/semantic-release).
55
+ Remember to use [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) or your PR will be rejected (since
56
+ merging it would mess up the changelog and version numbers).
package/index.js CHANGED
@@ -38,6 +38,15 @@ module.exports = {
38
38
  'jest/expect-expect': ['error', { assertFunctionNames: ['expect*'] }],
39
39
  'jest/no-commented-out-tests': 'error',
40
40
  'jest/no-disabled-tests': 'error',
41
+ 'import/no-extraneous-dependencies': [
42
+ 'error',
43
+ {
44
+ devDependencies: [
45
+ '**/*.{test,spec,e2e}.{ts,tsx}',
46
+ '**/{e2e,test,scripts}/**/*.{ts,tsx}',
47
+ ],
48
+ },
49
+ ],
41
50
 
42
51
  // Disable rules pulled in by "recommended" above that we're failing. It could make
43
52
  // sense to work towards enabling these.
package/package.json CHANGED
@@ -1,14 +1,26 @@
1
1
  {
2
2
  "name": "@valora/eslint-config-typescript",
3
- "version": "1.0.2",
3
+ "version": "1.1.0",
4
4
  "main": "index.js",
5
5
  "author": "Valora Inc",
6
6
  "license": "Apache-2.0",
7
+ "engines": {
8
+ "node": ">=18"
9
+ },
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/valora-inc/eslint-config-typescript.git"
13
+ },
14
+ "files": [
15
+ "index.js"
16
+ ],
7
17
  "scripts": {
8
- "release": "standard-version"
18
+ "format": "prettier --log-level error --write .",
19
+ "format:check": "prettier --check .",
20
+ "release": "semantic-release"
9
21
  },
10
22
  "dependencies": {
11
- "@typescript-eslint/parser": "^5.62.0"
23
+ "@typescript-eslint/parser": "^8.18.0"
12
24
  },
13
25
  "peerDependencies": {
14
26
  "@typescript-eslint/eslint-plugin": ">=4.0.0",
@@ -19,12 +31,21 @@
19
31
  "eslint-plugin-react-hooks": ">=4.0.0",
20
32
  "eslint-plugin-react-native": ">=3.0.0"
21
33
  },
22
- "publishConfig": {
23
- "registry": "https://registry.npmjs.org/"
24
- },
25
34
  "devDependencies": {
26
35
  "@valora/prettier-config": "^0.0.1",
27
- "standard-version": "^9.5.0"
36
+ "conventional-changelog-conventionalcommits": "^8.0.0",
37
+ "prettier": "^3.4.2",
38
+ "semantic-release": "^24.2.0"
39
+ },
40
+ "prettier": "@valora/prettier-config",
41
+ "release": {
42
+ "branches": [
43
+ "main"
44
+ ],
45
+ "preset": "conventionalcommits"
28
46
  },
29
- "prettier": "@valora/prettier-config"
47
+ "publishConfig": {
48
+ "access": "public",
49
+ "provenance": true
50
+ }
30
51
  }
package/CHANGELOG.md DELETED
@@ -1,7 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
-
5
- ### [1.0.2](https://github.com/valora-inc/eslint-config-typescript/compare/v1.0.1...v1.0.2) (2023-07-27)
6
-
7
- ### 1.0.1 (2022-07-11)