-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.js
38 lines (38 loc) · 957 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
module.exports = {
root: true,
extends: ["@open-wc/eslint-config", "prettier"],
rules: {
indent: "off",
"import/no-extraneous-dependencies": ["error", { devDependencies: true }],
"no-console": "off",
"operator-linebreak": "off",
"arrow-parens": "off",
"implicit-arrow-linebreak": "off",
"function-paren-newline": "off",
},
ignorePatterns: [
"dist/**/*",
"docs/**/*",
"**/dist/*",
"_monolith/*",
"config/*",
"pages/content/*",
"pages/_includes/*",
"src/assets/*",
"node_modules/*",
"test/*",
"src/components/scrollable-card/src/js",
"**/*.min.js",
"**/node_modules/*",
"src/components/charts/cannabis-local-ordinances/build",
"!.eleventy.js"
],
parserOptions: {
allowImportExportEverywhere: true,
ecmaVersion: 2021,
},
env: {
es2021: true,
},
plugins: ["html"]
};