@frontify/eslint-config-basic 0.19.0-next.1 → 0.19.0-next.3

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 (2) hide show
  1. package/index.js +11 -3
  2. package/package.json +6 -6
package/index.js CHANGED
@@ -10,8 +10,10 @@ module.exports = {
10
10
  plugins: ['@typescript-eslint', 'unicorn', 'no-only-tests', 'promise', 'lodash', 'prettier'],
11
11
  extends: [
12
12
  'eslint:recommended',
13
+ 'plugin:@typescript-eslint/recommended',
14
+ 'plugin:@typescript-eslint/recommended-type-checked',
13
15
  'plugin:eslint-comments/recommended',
14
- 'plugin:jsonc/recommended-with-jsonc',
16
+ 'plugin:jsonc/recommended-with-json',
15
17
  'plugin:yml/standard',
16
18
  'plugin:markdown/recommended',
17
19
  'plugin:import/recommended',
@@ -88,13 +90,14 @@ module.exports = {
88
90
  '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
89
91
  '@typescript-eslint/consistent-type-imports': [
90
92
  'warn',
91
- { prefer: 'type-imports', fixStyle: 'separate-type-imports' },
93
+ { prefer: 'type-imports', fixStyle: 'inline-type-imports' },
92
94
  ],
93
95
  '@typescript-eslint/no-misused-promises': [2, { checksVoidReturn: { attributes: false } }],
94
96
  },
95
97
  },
96
98
  {
97
- files: ['*.json', '*.json5'],
99
+ files: ['*.json'],
100
+ extends: ['plugin:@typescript-eslint/disable-type-checked'],
98
101
  parser: 'jsonc-eslint-parser',
99
102
  rules: {
100
103
  quotes: ['error', 'double'],
@@ -124,6 +127,7 @@ module.exports = {
124
127
  {
125
128
  files: ['package.json'],
126
129
  parser: 'jsonc-eslint-parser',
130
+ extends: ['plugin:@typescript-eslint/disable-type-checked'],
127
131
  rules: {
128
132
  'jsonc/sort-keys': [
129
133
  'error',
@@ -350,6 +354,10 @@ module.exports = {
350
354
  {
351
355
  groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index', 'object', 'type'],
352
356
  'newlines-between': 'always',
357
+ alphabetize: {
358
+ order: 'asc',
359
+ caseInsensitive: false,
360
+ },
353
361
  },
354
362
  ],
355
363
  'import/prefer-default-export': 'off',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontify/eslint-config-basic",
3
- "version": "0.19.0-next.1",
3
+ "version": "0.19.0-next.3",
4
4
  "author": "Frontify Developers <developers@frontify.com>",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -20,9 +20,9 @@
20
20
  "prettier": ">=3.0.0"
21
21
  },
22
22
  "dependencies": {
23
- "@typescript-eslint/eslint-plugin": "^6.9.1",
24
- "@typescript-eslint/parser": "^6.9.1",
25
- "eslint-config-prettier": "^9.0.0",
23
+ "@typescript-eslint/eslint-plugin": "^6.14.0",
24
+ "@typescript-eslint/parser": "^6.14.0",
25
+ "eslint-config-prettier": "^9.1.0",
26
26
  "eslint-import-resolver-typescript": "^3.6.1",
27
27
  "eslint-plugin-eslint-comments": "^3.2.0",
28
28
  "eslint-plugin-import": "^2.29.0",
@@ -37,8 +37,8 @@
37
37
  "yaml-eslint-parser": "^1.2.2"
38
38
  },
39
39
  "devDependencies": {
40
- "eslint": "^8.53.0",
41
- "prettier": "^3.0.3"
40
+ "eslint": "^8.55.0",
41
+ "prettier": "^3.1.1"
42
42
  },
43
43
  "scripts": {
44
44
  "lint": "eslint . --config=index.js"