Skip to content

Commit

Permalink
Merge pull request #546 from anteprimorac/feature/switch-to-eslint
Browse files Browse the repository at this point in the history
switch to eslint
  • Loading branch information
anteprimorac authored Jul 8, 2023
2 parents fe4d30c + bbb3006 commit 03589cc
Show file tree
Hide file tree
Showing 9 changed files with 2,059 additions and 828 deletions.
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/out
/vscode-test-env
/.vscode-test
25 changes: 25 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module.exports = {
env: {
es2021: true,
node: true,
},
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
overrides: [
{
env: {
node: true,
},
files: ['.eslintrc.{js,cjs}'],
parserOptions: {
sourceType: 'script',
},
},
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
plugins: ['@typescript-eslint'],
rules: {},
};
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": ["ms-vscode.vscode-typescript-tslint-plugin"]
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
}
Loading

0 comments on commit 03589cc

Please sign in to comment.