UNPKG

eslint-config-bananass

Version:

ESLint Config for Bananass Framework.🍌

34 lines (29 loc) 1.02 kB
/** * @fileoverview Configuration applied when a user configuration extends from `jsonc`. * * - Values not explicitly defined on the object will use their default values. * - Use the config inspector (`--inspect-config` in the CLI) to test which config objects apply to a specific file. */ // -------------------------------------------------------------------------------- // Import // -------------------------------------------------------------------------------- import { jsonc } from '../files.js'; import { jsonPlugin, jsonRules } from '../rules/json.js'; // -------------------------------------------------------------------------------- // Export // -------------------------------------------------------------------------------- /** @type {import("eslint").Linter.Config} */ export default { name: 'bananass/jsonc', files: [...jsonc], language: 'json/jsonc', languageOptions: { allowTrailingCommas: true, }, plugins: { ...jsonPlugin, }, rules: { ...jsonRules, }, };