Skip to content

Commit

Permalink
Merge pull request #1164 from Adyen/renovate/major-eslint-monorepo
Browse files Browse the repository at this point in the history
chore(deps): update dependency eslint to v9
  • Loading branch information
tamaralogeecom committed Jun 3, 2024
2 parents 8544fbf + a371851 commit 619a46d
Show file tree
Hide file tree
Showing 27 changed files with 733 additions and 2,360 deletions.
40 changes: 0 additions & 40 deletions extension/.eslintrc

This file was deleted.

39 changes: 39 additions & 0 deletions extension/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
import globals from 'globals'
import js from '@eslint/js'
import prettier from 'eslint-config-prettier'
import stylisticJs from '@stylistic/eslint-plugin-js'

export default [
js.configs.recommended,
{
languageOptions: {
globals: {
...globals.node,
...globals.mocha,
},
},
plugins: {
'@stylistic/js': stylisticJs,
prettier,
},
rules: {
'@stylistic/js/nonblock-statement-body-position': 'off',
'@stylistic/js/comma-dangle': 'off',
'class-methods-use-this': 'off',
'@stylistic/js/max-len': [2, 120],
'no-restricted-syntax': ['error', 'WithStatement'],
'no-param-reassign': 0,
'no-plusplus': 0,
'no-unused-expressions': 'off',
'@stylistic/js/template-curly-spacing': 'off',
'@stylistic/js/indent': 'off',
'@stylistic/js/operator-linebreak': 'off',
'no-await-in-loop': 'off',
'prefer-destructuring': 'off',
'no-use-before-define': [2, 'nofunc'],
'no-underscore-dangle': 'off',
'dot-notation': 'off',
'no-return-await': 'off',
},
},
]
Loading

0 comments on commit 619a46d

Please sign in to comment.