mirror of
https://github.com/usatiuk/ustk-todolist.git
synced 2025-10-28 23:57:49 +01:00
clean up eslint configs
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
{
|
||||
"extends": [
|
||||
"airbnb",
|
||||
"eslint:recommended",
|
||||
"plugin:jest/recommended",
|
||||
"prettier",
|
||||
"prettier/react"
|
||||
"plugin:react/recommended"
|
||||
],
|
||||
|
||||
"plugins": ["jest", "prettier"],
|
||||
"rules": {
|
||||
"react/jsx-filename-extension": [
|
||||
1,
|
||||
@@ -15,14 +12,12 @@
|
||||
}
|
||||
],
|
||||
"linebreak-style": "off",
|
||||
"no-unused-expressions": [
|
||||
"error",
|
||||
{
|
||||
"allowTernary": true
|
||||
}
|
||||
],
|
||||
"react/forbid-prop-types": "off",
|
||||
"prettier/prettier": "error"
|
||||
"node/no-unsupported-features/es-syntax": ["off"],
|
||||
"node/no-unsupported-features/es-builtins": ["off"],
|
||||
"node/no-unsupported-features/node-builtins": ["off"],
|
||||
"react/display-name": ["warn"],
|
||||
"no-console": "warn"
|
||||
},
|
||||
"env": {
|
||||
"browser": true
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"singleQuote": true,
|
||||
"trailingComma": "all"
|
||||
}
|
||||
Reference in New Issue
Block a user