-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1164 from Adyen/renovate/major-eslint-monorepo
chore(deps): update dependency eslint to v9
- Loading branch information
Showing
27 changed files
with
733 additions
and
2,360 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', | ||
}, | ||
}, | ||
] |
Oops, something went wrong.