eslint-config-bananass
Version:
ESLint Config for Bananass Framework.🍌
33 lines (28 loc) • 1.04 kB
JavaScript
/**
* @fileoverview Configuration applied when a user configuration extends from `json`.
*
* - 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 { json } from '../files.js';
import { json as jsonIgnores } from '../ignores.js';
import { jsonPlugin, jsonRules } from '../rules/json.js';
// --------------------------------------------------------------------------------
// Export
// --------------------------------------------------------------------------------
/** @type {import("eslint").Linter.Config} */
export default {
name: 'bananass/json',
files: [...json],
ignores: [...jsonIgnores],
language: 'json/json',
plugins: {
...jsonPlugin,
},
rules: {
...jsonRules,
},
};