@typeform/eslint-config 6.0.3 → 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.
@@ -14,14 +14,4 @@ on:
14
14
  - main
15
15
  jobs:
16
16
  ci-standard-checks:
17
- runs-on:
18
- - ubuntu-latest
19
- steps:
20
- - name: Check Out Source Code
21
- uses: actions/checkout@v2
22
- with:
23
- fetch-depth: 0
24
- - name: CI Standard Checks
25
- uses: Typeform/ci-standard-checks@v1
26
- with:
27
- githubToken: ${{ secrets.GITHUB_TOKEN }}
17
+ uses: Typeform/.github/.github/workflows/ci-standard-checks-workflow.yaml@v1
@@ -18,7 +18,7 @@ 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
23
  node-version: 20
24
24
 
@@ -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/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.3",
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",