-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #119 from filips123/update-dependencies
Update dependencies
- Loading branch information
Showing
13 changed files
with
2,778 additions
and
1,865 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
import path from 'node:path' | ||
import { fileURLToPath } from 'node:url' | ||
|
||
import { includeIgnoreFile } from '@eslint/compat' | ||
import eslint from '@eslint/js' | ||
import skipFormatting from '@vue/eslint-config-prettier/skip-formatting' | ||
import vueTsEslintConfig from '@vue/eslint-config-typescript' | ||
import pluginSimpleImportSort from 'eslint-plugin-simple-import-sort' | ||
import pluginVue from 'eslint-plugin-vue' | ||
|
||
const __filename = fileURLToPath(import.meta.url) | ||
const __dirname = path.dirname(__filename) | ||
const gitignorePath = path.resolve(__dirname, '..', '.gitignore') | ||
|
||
export default [ | ||
{ | ||
name: 'app/files-to-lint', | ||
files: ['**/*.{vue,js,jsx,cjs,mjs,ts,tsx,cts,mts}'], | ||
}, | ||
|
||
// Ignore files specified in .gitignore | ||
includeIgnoreFile(gitignorePath), | ||
|
||
// Use recommended config as base | ||
eslint.configs.recommended, | ||
|
||
// Use recommended Vue config | ||
...pluginVue.configs['flat/recommended'], | ||
|
||
// Use recommended TypeScript config | ||
...vueTsEslintConfig({ extends: ['recommended'] }), | ||
|
||
// Disable formatting rules as they are handled by Prettier | ||
skipFormatting, | ||
|
||
{ | ||
plugins: { | ||
'simple-import-sort': pluginSimpleImportSort, | ||
}, | ||
rules: { | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
'simple-import-sort/imports': 'error', | ||
eqeqeq: 'error', | ||
'no-cond-assign': 'error', | ||
'no-class-assign': 'error', | ||
'no-const-assign': 'error', | ||
'accessor-pairs': 'warn', | ||
}, | ||
}, | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.