Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Zyie committed Dec 6, 2024
1 parent cdcadf6 commit 3d1b7d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions index.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import eslint from '@eslint/js';
import importPlugin from 'eslint-plugin-import';
import simpleImportSort from 'eslint-plugin-simple-import-sort';
import globals from 'globals';
import tseslint from 'typescript-eslint';
import simpleImportSort from 'eslint-plugin-simple-import-sort';
import eslint from '@eslint/js';
import stylistic from '@stylistic/eslint-plugin';

export default tseslint.config(
Expand Down Expand Up @@ -221,7 +221,6 @@ export default tseslint.config(
'object-property-newline': 0,
'one-var': [1, 'never'],
'one-var-declaration-per-line': [1, 'always'],
'operator-assignment': 0,
'operator-linebreak': [1, 'before'],
'padded-blocks': [1, 'never'],
'quote-props': [1, 'as-needed'],
Expand Down Expand Up @@ -318,7 +317,6 @@ export default tseslint.config(
'@typescript-eslint/require-await': 0,
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/interface-name-prefix': 0,
'@typescript-eslint/no-floating-promises': 'error',
'@typescript-eslint/consistent-type-imports': [
1,
{ disallowTypeAnnotations: false, fixStyle: 'inline-type-imports' },
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"access": "public"
},
"scripts": {
"lint": "eslint --ext .js --ext .ts . --ignore-path .gitignore --max-warnings 0",
"lint": "eslint -c index.mjs . --max-warnings 0",
"lintfix": "npm run lint -- --fix",
"test": "DEBUG=eslint:cli-engine npm run lint",
"preversion": "npm test",
Expand Down
1 change: 0 additions & 1 deletion test.ts

This file was deleted.

0 comments on commit 3d1b7d7

Please sign in to comment.