UNPKG

webbluetooth

Version:

Node.js implementation of the Web Bluetooth Specification

88 lines (87 loc) 1.87 kB
{ "parser": "@typescript-eslint/parser", "plugins": [ "@typescript-eslint" ], "extends": [ // https://eslint.org/docs/rules/ "eslint:recommended", // https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin "plugin:@typescript-eslint/recommended" ], "rules": { "@typescript-eslint/no-empty-interface": [ "warn" ], "@typescript-eslint/no-this-alias": [ "warn" ], "@typescript-eslint/no-unused-vars": [ "warn", { "argsIgnorePattern": "^_" } ], "block-spacing": [ "error", "always" ], "brace-style": [ "error", "1tbs", { "allowSingleLine": true } ], "eol-last": [ "error" ], "indent": [ "error", 4, { "SwitchCase": 1 } ], "linebreak-style": [ "error", "unix" ], "no-console": [ "warn" ], "no-constant-condition": [ "error", { "checkLoops": false } ], "no-trailing-spaces": [ "error" ], "object-curly-spacing": [ "error", "always" ], "quotes": [ "error", "single" ], "semi": [ "error", "always" ] }, "env": { "commonjs": true, "es6": true, "node": true }, "parserOptions": { "ecmaVersion": 12, "sourceType": "module", "project": [ "./tsconfig.json" ] } }