relayers-network-ui/.eslintrc

58 lines
1.7 KiB
Plaintext
Raw Normal View History

{
"env": {
"node": true,
"browser": true,
"es6": true,
"mocha": true
},
"plugins": [
"vue",
"jsx-a11y",
"prettier",
"eslint-plugin-import",
"eslint-plugin-node",
"eslint-plugin-promise",
"@typescript-eslint"
],
"extends": [
"prettier",
"eslint:recommended",
"standard-with-typescript",
"plugin:vue/recommended",
"plugin:jsx-a11y/recommended",
"plugin:prettier/recommended"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser",
"project": "./tsconfig.json",
"extraFileExtensions": [".vue"]
},
"ignorePatterns": [".gitignore"],
"rules": {
"node/no-callback-literal": 0,
"prettier/prettier": ["error", { "printWidth": 130 }],
"jsx-quotes": ["error", "prefer-single"],
"@typescript-eslint/restrict-template-expressions": ["warn", { "allowNumber": true }],
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/array-type": 2,
"@typescript-eslint/camelcase": 0,
"@typescript-eslint/consistent-type-definitions": 0,
"@typescript-eslint/explicit-member-accessibility": 1,
"@typescript-eslint/no-empty-function": 2,
"@typescript-eslint/no-empty-interface": 2,
"@typescript-eslint/no-explicit-any": 2,
"@typescript-eslint/no-extra-non-null-assertion": 2,
"@typescript-eslint/no-magic-numbers": 2,
"@typescript-eslint/no-require-imports": 2,
"@typescript-eslint/require-await": 2,
"@typescript-eslint/no-floating-promises": 0,
"@typescript-eslint/strict-boolean-expressions": 0,
"@typescript-eslint/promise-function-async": 0
}
}