Debian Codegraph @

examples/nodeproj/.eslintrc.json

raw symbols SCIP
1 {
2 "env": {
3 "node": true,
4 "es6": true
5 },
6 "settings": {
7 "import/resolver": {
8 "node": {
9 "extensions": [".js", ".mjs", ".ts", ".cjs"]
10 }
11 }
12 },
13 "parser": "@typescript-eslint/parser",
14 "parserOptions": {
15 "ecmaVersion": 2020,
16 "sourceType": "module",
17 "allowImportExportEverywhere": true
18 },
19 "extends": [
20 "eslint:recommended",
21 "plugin:import/errors",
22 "plugin:import/warnings",
23 "plugin:import/typescript",
24 "plugin:promise/recommended",
25 "google",
26 "plugin:security/recommended"
27 ],
28 "plugins": ["promise", "security", "import"],
29 "overrides": [
30 {
31 "files": "public/**/*.min.js",
32 "env": {
33 "browser": true,
34 "node": false,
35 "es6": false
36 },
37 "parserOptions": {
38 "sourceType": "script"
39 },
40 "extends": ["plugin:compat/recommended"],
41 "plugins": [],
42 "rules": {
43 "no-var": ["off"]
44 }
45 }
46 ],
47 "rules": {
48 "security/detect-non-literal-fs-filename":["off"],
49 "security/detect-object-injection":["off"],
50 "camelcase": ["off"],
51 "no-console": ["off"],
52 "require-jsdoc": ["off"],
53 "one-var": ["off"],
54 "guard-for-in": ["off"],
55 "max-len": [
56 "warn",
57 {
58 "ignoreComments": true,
59 "ignoreTrailingComments": true,
60 "ignoreUrls": true,
61 "code": 200
62 }
63 ],
64 "indent": ["warn", 4],
65 "no-unused-vars": ["warn"],
66 "no-extra-semi": ["warn"],
67 "linebreak-style": ["error", "unix"],
68 "quotes": ["warn", "double"],
69 "semi": ["error", "always"]
70 }
71 }