github.com/Azareal/Gosora@v0.0.0-20210729070923-553e66b59003/.eslintrc.json (about)

     1  {
     2      "env": {
     3          "browser": true,
     4          "commonjs": true,
     5          "es6": true,
     6          "node": false
     7      },
     8      "parserOptions": {
     9          "ecmaFeatures": {
    10              "jsx": true
    11          },
    12          "sourceType": "module"
    13      },
    14      "rules": {
    15          "no-const-assign": "warn",
    16          "no-this-before-super": "warn",
    17          "no-undef": "warn",
    18          "no-unreachable": "warn",
    19          "no-unused-vars": "warn",
    20          "constructor-super": "warn",
    21          "valid-typeof": "warn"
    22      },
    23  	"globals": {
    24  		"$": true,
    25          "addHook": true,
    26          "runHook": true,
    27          "addInitHook": true,
    28          "runInitHook": true,
    29          "loadScript": true
    30  	}
    31  }