first commit

This commit is contained in:
sajjadtalkhabi
2026-05-13 01:43:05 +03:30
commit d2a577f254
297 changed files with 36274 additions and 0 deletions
+95
View File
@@ -0,0 +1,95 @@
module.exports = {
root: true,
env: {
browser: true,
node: true,
es2021: true,
},
plugins: ['prettier', 'unicorn', 'import'],
ignorePatterns: ['node_modules/', 'dist/', 'build/', '*.min.js'],
parserOptions: {
ecmaVersion: 2021,
sourceType: 'module',
},
extends: [
'plugin:unicorn/recommended',
'eslint:recommended',
'plugin:prettier/recommended',
'eslint-config-prettier',
'plugin:vue/vue3-essential',
],
overrides: [
{
files: ['**/*.vue'],
parser: 'vue-eslint-parser',
parserOptions: {
ecmaVersion: 2021,
sourceType: 'module',
},
},
{
files: ['**/*.cjs'],
parserOptions: {
sourceType: 'script',
},
},
],
rules: {
'no-alert': 'error',
'no-shadow': 'off',
'no-console': 'off',
'import/order': 'off',
'dot-notation': 'error',
'no-else-return': 'off',
'unicorn/no-null': 'off',
semi: ['error', 'never'],
'import/namespace': 'off',
'no-implied-eval': 'error',
'no-return-await': 'error',
'no-nested-ternary': 'off',
'no-param-reassign': 'off',
'no-throw-literal': 'error',
'consistent-return': 'off',
'no-useless-catch': 'off',
'prefer-destructuring': 'off',
'import/no-unresolved': 'off',
'no-underscore-dangle': 'off',
'unicorn/prefer-spread': 'off',
'unicorn/prefer-module': 'off',
'unicorn/filename-case': 'off',
'unicorn/no-array-reduce': 'off',
'no-constant-condition': 'error',
'unicorn/no-array-for-each': 'off',
'unicorn/prefer-node-protocol': 'off',
'import/prefer-default-export': 'off',
'unicorn/prevent-abbreviations': 'off',
'unicorn/prefer-string-replace-all': 'off',
'unicorn/consistent-function-scoping': 'off',
'unicorn/no-thenable': 'off',
'unicorn/no-static-only-class': 'off',
'unicorn/prefer-dom-node-text-content': 'off',
'unicorn/prefer-logical-operator-over-ternary': 'off',
'unicorn/prefer-number-properties': 'off',
'unicorn/prefer-ternary': 'off',
'no-unused-vars': 'off',
'no-irregular-whitespace': 'off',
'no-empty': 'off',
'import/extensions': 'off',
'vue/multi-word-component-names': 'off',
'vue/component-name-in-template-casing': 'off',
'vue/html-self-closing': 'off',
'vue/max-attributes-per-line': 'off',
'vue/html-indent': 'off',
'vue/no-unused-components': 'off',
'vue/no-reserved-component-names': 'off',
'vue/no-unused-vars': 'off',
'vue/require-v-for-key': 'off',
'vue/require-toggle-inside-transition': 'off',
'vue/require-valid-default-prop': 'off',
'vue/no-deprecated-props-default-this': 'off',
'vue/no-duplicate-attributes': 'off',
'vue/no-side-effects-in-computed-properties': 'off',
'vue/valid-v-on': 'off',
'padding-line-between-statements': 'off',
},
}