Skip to content

Commit

Permalink
Create .eslintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
vanvianen committed Aug 24, 2024
1 parent 1f5791a commit 4f21255
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"rules": {
"prefer-template": "off",
"no-var": 1,
"no-unused-vars": 1,
"camelcase": 1,
"no-nested-ternary": 1,
"no-console": 1,
"no-template-curly-in-string": 1,
"no-self-compare": 1,
"import/prefer-default-export": 0,
"arrow-body-style": 1,
"import/no-extraneous-dependencies": ["off", { "devDependencies": false }]
},
"ignorePatterns": ["dist", "node_modules", "webpack.*"],
"env": {
"browser": true,
"es6": true
},
"extends": ["eslint:recommended", "prettier"],
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module"
},
"plugins": ["prettier"],
"settings": {
"import/resolver": {
"webpack": {
"config": "webpack.config.ts"
}
}
}
}

0 comments on commit 4f21255

Please sign in to comment.