Skip to content

Commit

Permalink
refactor(eslint): sort alphabetically (#131)
Browse files Browse the repository at this point in the history
Co-authored-by: Almanov Nikita <131481562+nikkeyl@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and nikkeyl authored Mar 19, 2024
1 parent ea4d37b commit 653f126
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import globals from 'globals';
import { resolve } from 'node:path';

import { defineFlatConfig } from 'eslint-define-config';
import { FlatCompat } from '@eslint/eslintrc';
import { resolve } from 'node:path';

import globals from 'globals';
import typescriptParser from '@typescript-eslint/parser';
import unicorn from 'eslint-plugin-unicorn';

Expand All @@ -21,13 +21,13 @@ export default defineFlatConfig([
unicorn.configs['flat/recommended'],
{
languageOptions: {
globals: {
...globals.node,
},
parser: typescriptParser,
parserOptions: {
project: 'tsconfig.json',
},
globals: {
...globals.node,
},
},
settings: {
'import/resolver': {
Expand All @@ -43,7 +43,7 @@ export default defineFlatConfig([
'import/no-commonjs': 'error',
'import/no-namespace': 'error',
'import/no-unassigned-import': 'error',
'unicorn/no-null': 'warn',
'unicorn/no-null': 'off',
'unicorn/no-unused-properties': 'error',
'unicorn/string-content': 'error',
},
Expand Down

0 comments on commit 653f126

Please sign in to comment.