Moved .eslintrc to JSON

This commit is contained in:
dangered wolf 2022-08-08 15:13:54 -04:00
parent b0b3103c9b
commit bc4e08125b
No known key found for this signature in database
GPG key ID: 41E4D37680ED8B58
2 changed files with 16 additions and 11 deletions

16
.eslintrc Normal file
View file

@ -0,0 +1,16 @@
{
"root": true,
"extends": [
"typescript",
"prettier",
"plugin:optimize-regex/recommended",
"plugin:sonarjs/recommended"
],
"plugins": [
"eslint-plugin-optimize-regex",
"sonarjs"
],
"rules": {
"sonarjs/cognitive-complexity": ["warn", 20]
}
}

View file

@ -1,11 +0,0 @@
root: true
extends:
- typescript
- prettier
- plugin:optimize-regex/recommended
- plugin:sonarjs/recommended
plugins:
- eslint-plugin-optimize-regex
- sonarjs