✨feature: First push to git
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
module.exports = {
|
||||
root: true,
|
||||
ignorePatterns: ['dist/**', 'node_modules/**'],
|
||||
env: {
|
||||
es2022: true,
|
||||
node: true
|
||||
},
|
||||
parser: '@typescript-eslint/parser',
|
||||
parserOptions: {
|
||||
project: './tsconfig.json',
|
||||
sourceType: 'module'
|
||||
},
|
||||
plugins: ['@typescript-eslint', 'import'],
|
||||
extends: ['airbnb-base', 'plugin:@typescript-eslint/recommended', 'prettier'],
|
||||
rules: {
|
||||
'import/extensions': 'off',
|
||||
'import/no-extraneous-dependencies': [
|
||||
'error',
|
||||
{
|
||||
devDependencies: ['tests/**/*.ts', 'vitest.config.ts', 'tsup.config.ts', 'scripts/**/*.mjs']
|
||||
}
|
||||
],
|
||||
'no-console': 'off',
|
||||
'no-restricted-syntax': 'off',
|
||||
'class-methods-use-this': 'off',
|
||||
camelcase: 'off',
|
||||
'default-param-last': 'off',
|
||||
'import/no-unresolved': 'off',
|
||||
'import/prefer-default-export': 'off',
|
||||
'max-classes-per-file': 'off',
|
||||
'no-await-in-loop': 'off',
|
||||
'no-continue': 'off',
|
||||
'no-empty-function': 'off',
|
||||
'no-use-before-define': 'off',
|
||||
'no-useless-constructor': 'off',
|
||||
'@typescript-eslint/no-explicit-any': 'off',
|
||||
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }]
|
||||
},
|
||||
overrides: [
|
||||
{
|
||||
files: ['*.js', '*.cjs', '*.mjs'],
|
||||
parser: 'espree',
|
||||
parserOptions: {
|
||||
ecmaVersion: 2022,
|
||||
sourceType: 'module'
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
Reference in New Issue
Block a user