forked from mengyxu/noob-components
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
563 B
29 lines
563 B
{ |
|
"$schema": "https://oxc.rs/schema/config.json", |
|
"rules": { |
|
"no-console": "warn", |
|
"no-debugger": "warn", |
|
"no-unused-vars": "warn", |
|
"no-throw-literal": "error", |
|
"prefer-const": "warn", |
|
"no-var": "error" |
|
}, |
|
"settings": { |
|
"jsx": "react" |
|
}, |
|
"include": [ |
|
"packages/**/*.ts", |
|
"packages/**/*.tsx", |
|
"packages/**/*.vue", |
|
"plugs/**/*.ts", |
|
"plugs/**/*.tsx", |
|
"examples/**/*.ts", |
|
"examples/**/*.tsx", |
|
"examples/**/*.vue" |
|
], |
|
"exclude": [ |
|
"node_modules/**", |
|
"dist/**", |
|
"**/*.min.js" |
|
] |
|
}
|
|
|