T004
This commit is contained in:
12
.eslintrc.cjs
Normal file
12
.eslintrc.cjs
Normal file
@@ -0,0 +1,12 @@
|
||||
// Root ESLint config for monorepo
|
||||
/** @type {import('eslint').Linter.Config} */
|
||||
module.exports = {
|
||||
root: true,
|
||||
env: { es2022: true, node: true, browser: true },
|
||||
extends: ['eslint:recommended', 'prettier'],
|
||||
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
|
||||
ignorePatterns: ['node_modules/', 'dist/', 'build/', '.svelte-kit/', 'coverage/'],
|
||||
overrides: [
|
||||
{ files: ['**/*.cjs'], parserOptions: { sourceType: 'script' } },
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user