Skip to content

Commit

Permalink
wip: create recommended.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lumirlumir committed Jan 14, 2025
1 parent b7973c6 commit fd47a3f
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions packages/eslint-config-bananass-react/src/configs/recommended.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/**
* @fileoverview Configuration applied when a user configuration extends from `recommended`.
*
* - 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.
*/

// --------------------------------------------------------------------------------
// Require
// --------------------------------------------------------------------------------

const bananass = require('eslint-config-bananass');

// --------------------------------------------------------------------------------
// Exports
// --------------------------------------------------------------------------------

module.exports = {
name: 'bananass-react/recommended',
files: ['**/*.js', '**/*.cjs', '**/*.mjs', '**/*.jsx'],
languageOptions: {
...bananass.configs.recommended.languageOptions,

parserOptions: {
ecmaFeatures: {
jsx: true,
},
},
},
plugins: {
...bananass.configs.recommended.plugins,
},
rules: {
...bananass.configs.recommended.rules,
},
};

0 comments on commit fd47a3f

Please sign in to comment.