mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-07-26 20:22:32 +02:00
refactor(starter): upgrade and move to typescript
This commit is contained in:
10
.eslintrc
10
.eslintrc
@@ -39,15 +39,17 @@
|
||||
"import/no-named-as-default": ["off"],
|
||||
"import/prefer-default-export": ["off"],
|
||||
"sort-keys": ["off"],
|
||||
"camelcase": ["off"],
|
||||
"comma-dangle": ["error", "always-multiline"],
|
||||
"sort-imports": ["off"],
|
||||
"no-restricted-globals": ["off"],
|
||||
"@typescript-eslint/no-unused-vars": ["off"],
|
||||
"@typescript-eslint/no-use-before-define": ["off"],
|
||||
"@typescript-eslint/quotes": ["error", "double"],
|
||||
"@typescript-eslint/naming-convention": ["error", {
|
||||
"format": ["camelCase", "UPPER_CASE", "PascalCase"],
|
||||
"selector": "parameter",
|
||||
"leadingUnderscore": "allow"
|
||||
"format": ["camelCase", "UPPER_CASE", "snake_case", "PascalCase"],
|
||||
"leadingUnderscore": "allow",
|
||||
"selector": "parameter"
|
||||
}],
|
||||
"react/static-property-placement": ["off"],
|
||||
"react/prop-types": ["off"],
|
||||
@@ -55,7 +57,7 @@
|
||||
"error",
|
||||
{
|
||||
"groups": [
|
||||
["react"],
|
||||
["react|path"],
|
||||
["^\\u0000"],
|
||||
["^@?\\w"],
|
||||
["^[^. ]"],
|
||||
|
Reference in New Issue
Block a user