generated from sonofmagic/npm-lib-template
-
-
Notifications
You must be signed in to change notification settings - Fork 92
/
Copy patheslint.config.js
42 lines (40 loc) · 799 Bytes
/
eslint.config.js
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
import { icebreaker } from '@icebreakers/eslint-config'
export default icebreaker(
{
tailwindcss: true,
markdown: true,
ignores: [
'**/fixtures/**',
// 'apps',
'demo',
'demo-linked',
'how-to-build-components-by-tailwindcss',
'packages/tailwindcss-core-plugins-extractor/src',
// tmp 添加
'apps/weapp-library',
'packages/tailwindcss-injector/*.md',
],
},
{
rules: {
'ts/no-require-imports': 'warn',
},
},
{
files: ['apps/**/*.{ts,js}', 'demo/**/*.{ts,js}'],
languageOptions: {
globals: {
wx: true,
App: true,
Page: true,
getApp: true,
Component: true,
},
},
},
{
files: ['packages/merge/**/*.test.ts'],
rules: {
},
},
)