mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-10 21:10:54 +01:00
Moved .eslintrc to JSON
This commit is contained in:
parent
b0b3103c9b
commit
bc4e08125b
2 changed files with 16 additions and 11 deletions
16
.eslintrc
Normal file
16
.eslintrc
Normal 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]
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,11 +0,0 @@
|
||||||
root: true
|
|
||||||
|
|
||||||
extends:
|
|
||||||
- typescript
|
|
||||||
- prettier
|
|
||||||
- plugin:optimize-regex/recommended
|
|
||||||
- plugin:sonarjs/recommended
|
|
||||||
|
|
||||||
plugins:
|
|
||||||
- eslint-plugin-optimize-regex
|
|
||||||
- sonarjs
|
|
Loading…
Add table
Reference in a new issue