/** @type {import("eslint").Linter.Config} */
module.exports = {
    extends: [
        // airbnb规范
        // https://www.npmjs.com/package/eslint-config-airbnb-base
        'airbnb-base',
        './base',
    ],
    env: {
        node: true,
    },
    ignorePatterns: [
        // Ignore dotfiles
        'node_modules/',
    ],
    overrides: [
        {
            files: ['*.js?(x)', '*.json'],
        },
    ],
};
