Skip to content

Commit 14f4899

Browse files
fix(eslint): perfectionist update
1 parent 8ae65c8 commit 14f4899

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

eslint.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import js from '@eslint/js';
2+
// https://github.com/vitest-dev/eslint-plugin-vitest
3+
import vitest from '@vitest/eslint-plugin';
24
// https://github.com/nickdeis/eslint-plugin-no-secrets
35
import noSecrets from 'eslint-plugin-no-secrets';
46
// https://github.com/azat-io/eslint-plugin-perfectionist
@@ -7,8 +9,6 @@ import perfectionist from 'eslint-plugin-perfectionist';
79
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
810
// https://github.com/eslint-community/eslint-plugin-security
911
import eslintPluginSecurity from 'eslint-plugin-security';
10-
// https://github.com/vitest-dev/eslint-plugin-vitest
11-
import vitest from '@vitest/eslint-plugin';
1212
import globals from 'globals';
1313

1414
import eslintIgnores from './eslint.ignores.js';
@@ -48,7 +48,7 @@ export default [
4848
type: 'alphabetical',
4949
order: 'asc',
5050
ignoreCase: true,
51-
internalPattern: ['~/**'],
51+
internalPattern: ['^~/.*'],
5252
newlinesBetween: 'always',
5353
maxLineLength: undefined,
5454
groups: [

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)