ts-npm-ytmusic-api/.eslintrc.json

42 lines
918 B
JSON

{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": [
// "next/core-web-vitals",
"eslint:recommended",
// "plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"overrides": [],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
// "react",
"@typescript-eslint",
"simple-import-sort"
],
"rules": {
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/ban-types": "warn",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-explicit-any": "off",
"linebreak-style": ["error", "unix"],
"no-empty": "warn",
"no-empty-function": "off",
"no-empty-pattern": "warn",
// "react/react-in-jsx-scope": "off",
"simple-import-sort/imports": [
"warn",
{
"groups": [["^\\w"], ["^@\\w+"], ["^@/"], ["^\\."]]
}
]
}
}