Skip to content

Commit

Permalink
Update projects/plugins/wpcomsh/.eslintrc.js
Browse files Browse the repository at this point in the history
Co-authored-by: Brad Jorsch <[email protected]>
  • Loading branch information
zinigor and anomiex authored Jun 7, 2024
1 parent 5a9edfb commit 4fce17e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions projects/plugins/wpcomsh/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
const loadIgnorePatterns = require( 'jetpack-js-tools/load-eslint-ignore.js' );

module.exports = {
root: true,
extends: [ 'plugin:jest/recommended', 'prettier' ],
extends: [
require.resolve( 'jetpack-js-tools/eslintrc/jest' ),
require.resolve( 'jetpack-js-tools/eslintrc/prettier' ),
],
ignorePatterns: loadIgnorePatterns( __dirname ),
overrides: [],
env: {
browser: true,
jest: true,
node: true,
},
parserOptions: {
ecmaVersion: 2018,
ecmaVersion: 2020,
sourceType: 'module',
},
globals: {},
plugins: [ 'jest', 'import' ],
settings: {},
rules: {
'jest/no-disabled-tests': 'warn',
Expand Down

0 comments on commit 4fce17e

Please sign in to comment.