name-util
Version:
A utility script to convert a string into camel case, dashed name, class name or to capitalized name
32 lines (31 loc) • 1.04 kB
JSON
{
"env": {
"browser": true,
"es2020": true
},
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 11,
"sourceType": "module",
"extraFileExtensions": [".ts"],
"warnOnUnsupportedTypeScriptVersion": false,
"project": ["./tsconfig.json"]
},
"plugins": ["@typescript-eslint", "prettier"],
"rules": {
"indent": "off",
"no-unused-vars": "off",
"prefer-const": "warn",
"@typescript-eslint/indent": "off",
"linebreak-style": ["error", "unix"],
"semi": ["error", "never"],
"prettier/prettier": "warn",
"@typescript-eslint/semi": ["off"],
"@typescript-eslint/no-unused-vars": ["warn", { "ignoreRestSiblings": true }],
"@typescript-eslint/no-explicit-any": ["off"],
"@typescript-eslint/explicit-function-return-type": ["off"],
"@typescript-eslint/explicit-module-boundary-types": ["off"],
"@typescript-eslint/no-floating-promises": ["error"]
}
}