-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheslint.config.js
More file actions
47 lines (46 loc) · 1014 Bytes
/
Copy patheslint.config.js
File metadata and controls
47 lines (46 loc) · 1014 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import js from '@eslint/js';
import eslintConfigPrettier from 'eslint-config-prettier';
import eslintPluginImport from 'eslint-plugin-import';
export default [
{
ignores: [
'node_modules/**',
'packages/**',
'dist/**',
'coverage/**',
'docs/reports/coverage/**',
'projects/04-llm-adapter/**',
'tests/playwright-report/**',
'projects/02-blueprint-to-playwright/tests/generated/**',
'**/*.ts',
'**/*.tsx',
],
},
js.configs.recommended,
{
languageOptions: {
sourceType: 'module',
ecmaVersion: 'latest',
},
plugins: {
import: eslintPluginImport,
},
settings: {
'import/resolver': {
node: {
extensions: ['.js', '.cjs', '.mjs'],
},
},
},
rules: {
'import/order': [
'error',
{
'newlines-between': 'always',
alphabetize: { order: 'asc', caseInsensitive: true },
},
],
},
},
eslintConfigPrettier,
];