mirror of
https://github.com/voson-wang/toon.git
synced 2026-01-29 23:34:10 +08:00
* chore: move readme to `packages/toon/README.md` and symlink in the project root * fix paths and exclude `packages/toon/README.md` from `eslint` to avoid double linting * fix: use relative paths * fix link to readme benchmarks section
19 lines
437 B
JavaScript
19 lines
437 B
JavaScript
// @ts-check
|
|
import antfu from '@antfu/eslint-config'
|
|
|
|
export default antfu({
|
|
rules: {
|
|
'no-cond-assign': 'off',
|
|
},
|
|
// `README.md` is symlinked to this file so we
|
|
// exclude it to avoid linting the same file twice.
|
|
ignores: ['packages/toon/README.md'],
|
|
}).append({
|
|
files: ['README.md', 'SPEC.md', '**/docs/**/*'],
|
|
rules: {
|
|
'import/no-duplicates': 'off',
|
|
'style/no-tabs': 'off',
|
|
'yaml/quotes': 'off',
|
|
},
|
|
})
|