@cabloy/lint 5.1.7 → 5.1.8

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/common/rules.js CHANGED
@@ -73,7 +73,10 @@ export const rules = {
73
73
  // 'no-setter-return': 'off', // no effect for typescript check
74
74
  '@typescript-eslint/method-signature-style': 'off',
75
75
  '@typescript-eslint/no-redeclare': 'off',
76
- '@typescript-eslint/consistent-type-imports': ['error', { fixStyle: 'separate-type-imports', prefer: 'type-imports' }],
76
+ '@typescript-eslint/consistent-type-imports': [
77
+ 'error',
78
+ { fixStyle: 'separate-type-imports', prefer: 'type-imports' },
79
+ ],
77
80
  '@typescript-eslint/explicit-function-return-type': 'off',
78
81
  '@typescript-eslint/no-namespace': 'off',
79
82
  '@typescript-eslint/no-explicit-any': 'off',
@@ -130,7 +133,11 @@ export const rules = {
130
133
  '@stylistic/arrow-parens': ['error', 'as-needed'],
131
134
  '@stylistic/brace-style': ['error', '1tbs', { allowSingleLine: true }],
132
135
  '@stylistic/quotes': ['error', 'single', { avoidEscape: true }],
133
- '@stylistic/operator-linebreak': ['error', 'after', { overrides: { '?': 'before', ':': 'before' } }],
136
+ '@stylistic/operator-linebreak': [
137
+ 'error',
138
+ 'after',
139
+ { overrides: { '?': 'before', ':': 'before' } },
140
+ ],
134
141
  '@stylistic/keyword-spacing': [
135
142
  'error',
136
143
  {
package/oxc/format.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export const _configDefault = {
2
- printWidth: 150,
2
+ printWidth: 100,
3
3
  tabWidth: 2,
4
4
  useTabs: false,
5
5
  semi: true,
package/oxc/lint.js CHANGED
@@ -1193,7 +1193,12 @@ export const _configDefault = {
1193
1193
  'no-redeclare': 'off',
1194
1194
  'no-use-before-define': 'off',
1195
1195
  },
1196
- jsPlugins: ['eslint-plugin-antfu', '@e18e/eslint-plugin', '@stylistic/eslint-plugin', 'eslint-plugin-unused-imports'],
1196
+ jsPlugins: [
1197
+ 'eslint-plugin-antfu',
1198
+ '@e18e/eslint-plugin',
1199
+ '@stylistic/eslint-plugin',
1200
+ 'eslint-plugin-unused-imports',
1201
+ ],
1197
1202
  plugins: ['typescript'],
1198
1203
  },
1199
1204
  {
package/oxc/lintVue.js CHANGED
@@ -1213,7 +1213,12 @@ export const _configDefault = {
1213
1213
  'no-redeclare': 'off',
1214
1214
  'no-use-before-define': 'off',
1215
1215
  },
1216
- jsPlugins: ['eslint-plugin-antfu', '@e18e/eslint-plugin', '@stylistic/eslint-plugin', 'eslint-plugin-unused-imports'],
1216
+ jsPlugins: [
1217
+ 'eslint-plugin-antfu',
1218
+ '@e18e/eslint-plugin',
1219
+ '@stylistic/eslint-plugin',
1220
+ 'eslint-plugin-unused-imports',
1221
+ ],
1217
1222
  plugins: ['typescript'],
1218
1223
  },
1219
1224
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cabloy/lint",
3
- "version": "5.1.7",
3
+ "version": "5.1.8",
4
4
  "gitHead": "a79189b882c17af5911573896a781bbb0046d37d",
5
5
  "description": "Node Style Guide for Cabloy.",
6
6
  "files": [