gridtracker/.eslintrc.js

44 wiersze
986 B
JavaScript

module.exports = {
env: {
browser: true,
commonjs: true,
es6: true,
node: true
},
extends: [
"standard"
],
globals: {
Atomics: "readonly",
SharedArrayBuffer: "readonly"
},
parserOptions: {
ecmaVersion: 2021
},
rules: {
/* See https://eslint.org/docs/rules/ */
/* 0: off, 1: warn, 2: error */
/* Style rules reflecting Tag's preferences */
"brace-style": [1, "allman", { allowSingleLine: true }],
quotes: [2, "double"],
camelcase: 0,
semi: 0,
"space-before-function-paren": 0,
"one-var": 0,
"no-trailing-spaces": ["error", { skipBlankLines: true, ignoreComments: true }],
/* ESLint checks we should consider fixing in the future */
eqeqeq: 0,
"no-unused-vars": 0,
"no-redeclare": 0,
"no-undef": 0,
"no-array-constructor": 0,
"prefer-const": 0,
"no-var": 0,
"no-extend-native": 0,
"prefer-regex-literals": 0,
"no-prototype-builtins": 0
}
};