@typeform/eslint-config 6.0.2 → 6.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.
@@ -4,21 +4,14 @@ on:
4
4
  branches:
5
5
  - main
6
6
  pull_request:
7
- types: [opened, edited, synchronize, reopened]
7
+ types:
8
+ - opened
9
+ - edited
10
+ - synchronize
11
+ - reopened
12
+ - ready_for_review
8
13
  branches:
9
14
  - main
10
-
11
15
  jobs:
12
16
  ci-standard-checks:
13
- runs-on: [ubuntu-latest]
14
-
15
- steps:
16
- - name: Check Out Source Code
17
- uses: actions/checkout@v2
18
- with:
19
- fetch-depth: 0
20
-
21
- - name: CI Standard Checks
22
- uses: Typeform/ci-standard-checks@v1
23
- with:
24
- githubToken: ${{ secrets.GITHUB_TOKEN }}
17
+ uses: Typeform/.github/.github/workflows/ci-standard-checks-workflow.yaml@v1
@@ -18,9 +18,9 @@ jobs:
18
18
  uses: actions/checkout@v2
19
19
 
20
20
  - name: Set up Node.js
21
- uses: actions/setup-node@v1
21
+ uses: actions/setup-node@v4
22
22
  with:
23
- node-version: 14
23
+ node-version: 20
24
24
 
25
25
  - name: Set GitHub packages registry
26
26
  run: |
@@ -28,7 +28,7 @@ jobs:
28
28
  npm config set @typeform:registry https://npm.pkg.github.com/
29
29
 
30
30
  - name: Get yarn cache
31
- uses: actions/cache@v2
31
+ uses: actions/cache@v4
32
32
  id: yarn-cache
33
33
  with:
34
34
  path: node_modules
@@ -14,7 +14,7 @@ jobs:
14
14
 
15
15
  steps:
16
16
  - name: Check Out Source Code
17
- uses: actions/checkout@v2
17
+ uses: actions/checkout@v4
18
18
  with:
19
19
  fetch-depth: 0
20
20
 
package/CODEOWNERS CHANGED
@@ -1 +1 @@
1
- * @Typeform/frontend-architecture
1
+ * @Typeform/delivery-experience
package/README.md CHANGED
@@ -1,3 +1,4 @@
1
+ <a href=https://engineering-metrics.typeform.tf/standards-adoption-tool/reports/eslint-config-typeform/><img src=https://api.typeform.com/repositories/eslint-config-typeform/badges.svg /></a>
1
2
  # eslint-config-typeform
2
3
 
3
4
  ESLint configuration for [Typeform](https://github.com/Typeform/) front-end projects
package/index.js CHANGED
@@ -34,6 +34,13 @@ module.exports = {
34
34
  'react-hooks/exhaustive-deps': 'error',
35
35
  'react/jsx-key': ['warn', { checkFragmentShorthand: true }],
36
36
  '@typescript-eslint/no-explicit-any': 'warn',
37
+ '@typescript-eslint/consistent-type-imports': [
38
+ 'warn',
39
+ {
40
+ prefer: 'type-imports',
41
+ fixStyle: 'inline-type-imports',
42
+ },
43
+ ],
37
44
  'no-restricted-imports': [
38
45
  'warn',
39
46
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typeform/eslint-config",
3
- "version": "6.0.2",
3
+ "version": "6.1.0",
4
4
  "description": "ESLint configuration for Typeform front-end projects",
5
5
  "main": "index.js",
6
6
  "repository": "git@github.com:Typeform/eslint-config-typeform.git",