budibase/.eslintrc.json

52 lines
1014 B
JSON
Raw Normal View History

2020-01-31 15:23:16 +01:00
{
"env": {
"browser": true,
"es6": true,
"jest": true,
"node": true
2020-01-31 15:23:16 +01:00
},
2020-02-25 16:21:23 +01:00
"parser": "babel-eslint",
2020-01-31 15:23:16 +01:00
"parserOptions": {
"ecmaVersion": 2019,
2020-02-25 16:21:23 +01:00
"sourceType": "module",
"allowImportExportEverywhere": true
2020-01-31 15:23:16 +01:00
},
"ignorePatterns": [
"node_modules",
"dist",
"public",
"*.spec.js",
"bundle.js"
],
"plugins": ["svelte3"],
2020-01-31 15:23:16 +01:00
"extends": ["eslint:recommended"],
"overrides": [
{
"files": ["*.svelte"],
2020-01-31 15:23:16 +01:00
"processor": "svelte3/svelte3"
},
{
"files": ["**/*.ts"],
"parser": "@typescript-eslint/parser",
"plugins": [],
"extends": [
"eslint:recommended"
],
"rules": {
"no-unused-vars": "off",
"no-inner-declarations": "off",
"no-case-declarations": "off",
"no-useless-escape": "off",
"no-undef": "off",
"no-prototype-builtins": "off"
}
2020-01-31 15:23:16 +01:00
}
],
"rules": {
2020-05-18 12:18:31 +02:00
"no-self-assign": "off"
},
"globals": {
"GeolocationPositionError": true
2020-01-31 15:23:16 +01:00
}
}