face-api/.eslintrc.json

52 lines
1.3 KiB
JSON

{
"globals": {},
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true,
"es2020": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": { "ecmaVersion": 2020 },
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"plugin:node/recommended",
"plugin:promise/recommended",
"plugin:json/recommended-with-comments",
"airbnb-base"
],
"ignorePatterns": [ "node_modules", "types" ],
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".ts"]
}
}
},
"rules": {
"max-len": [1, 275, 3],
"camelcase": "off",
"class-methods-use-this": "off",
"import/extensions": "off",
"import/no-cycle": "off",
"import/prefer-default-export": "off",
"no-await-in-loop": "off",
"no-continue": "off",
"no-mixed-operators": "off",
"no-param-reassign": "off",
"no-plusplus": "off",
"no-restricted-syntax": "off",
"no-return-assign": "off",
"no-underscore-dangle": "off",
"node/no-missing-import": "off",
"node/no-unsupported-features/es-syntax": "off",
"prefer-destructuring": "off",
"radix": "off",
"object-curly-newline": "off"
}
}