budibase/.eslintrc.json

26 lines
549 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": {
"prettier/prettier": "error"
}
}