budibase/.eslintrc.json

27 lines
578 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
},
2020-02-25 16:21:23 +01:00
"ignorePatterns": ["node_modules", "dist", "public", "*.spec.js", "bundle.js"],
2020-01-31 15:23:16 +01:00
"plugins": ["prettier", "svelte3"],
"extends": ["eslint:recommended"],
"overrides": [
{
"files": ["**/*.svelte"],
"processor": "svelte3/svelte3"
}
],
"rules": {
2020-05-18 12:18:31 +02:00
"prettier/prettier": "error",
"no-self-assign": "off"
2020-01-31 15:23:16 +01:00
}
}