mirror of
https://github.com/vercel/flags.git
synced 2026-09-19 03:49:23 +08:00
21 lines
630 B
JavaScript
21 lines
630 B
JavaScript
const { resolve } = require('node:path');
|
|
|
|
module.exports = {
|
|
root: true,
|
|
// This tells ESLint to load the config from the package `eslint-config-custom`
|
|
extends: ['custom'],
|
|
rules: {
|
|
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
'import/no-default-export': 'off',
|
|
'@typescript-eslint/no-confusing-void-expression': 'off',
|
|
},
|
|
parserOptions: {
|
|
project: [
|
|
resolve(__dirname, './packages/*/tsconfig.json'),
|
|
resolve(__dirname, './tooling/*/tsconfig.json'),
|
|
resolve(__dirname, './examples/*/tsconfig.json'),
|
|
resolve(__dirname, './tests/*/tsconfig.json'),
|
|
],
|
|
},
|
|
};
|