@blueking/bkui-lint 0.1.8 → 0.1.9

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/eslint.mjs CHANGED
@@ -3,7 +3,7 @@ import eslintConfigPrettier from 'eslint-config-prettier';
3
3
  import tencentEslintLegacyRules from 'eslint-config-tencent/ts';
4
4
  import codecc from 'eslint-plugin-codecc';
5
5
  import perfectionist from 'eslint-plugin-perfectionist';
6
- import prettier from 'eslint-plugin-prettier';
6
+ // import prettier from 'eslint-plugin-prettier';
7
7
  import eslintVuePlugin from 'eslint-plugin-vue';
8
8
  import tsEslint from 'typescript-eslint';
9
9
 
@@ -147,10 +147,10 @@ export default [
147
147
  {
148
148
  ignores: ['node_modules', 'dist', '*.json'],
149
149
  },
150
- {
151
- plugins: { prettier },
152
- rules: { ...prettier.configs.recommended.rules },
153
- },
150
+ // {
151
+ // plugins: { prettier },
152
+ // rules: { ...prettier.configs.recommended.rules },
153
+ // },
154
154
  ...createVueEslintConfig(),
155
155
  {
156
156
  files: ['*.js', '**/*.js', '*.ts', '**/*.ts'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueking/bkui-lint",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "蓝鲸监控平台公共lint工具",
5
5
  "license": "MIT",
6
6
  "author": "Tencent BlueKing",
package/prettier.mjs CHANGED
@@ -37,4 +37,12 @@ export default {
37
37
  useTabs: false,
38
38
  vueIndentScriptAndStyle: true,
39
39
  jsxBracketSameLine: false,
40
+ bracketSpacing: true,
41
+ endOfLine: 'lf',
42
+ htmlWhitespaceSensitivity: 'css',
43
+ insertPragma: false,
44
+ proseWrap: 'preserve',
45
+ requirePragma: false,
46
+ embeddedLanguageFormatting: 'auto',
47
+ experimentalTernaries: false,
40
48
  };