Skip to content

Commit

Permalink
[Meta] Power up the editor configs
Browse files Browse the repository at this point in the history
  • Loading branch information
lexisother committed Apr 11, 2023
1 parent de5e681 commit 78bf6db
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 24 deletions.
5 changes: 3 additions & 2 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ env:
parser: '@typescript-eslint/parser'
parserOptions:
sourceType: module
plugins:
- '@typescript-eslint'
plugins: ['prettier']

settings:
node:
tryExtensions: ['.ts', '.js', '.json', '.node']

rules:
prettier/prettier:
- error
node/no-unsupported-features/es-syntax:
- error
- ignores:
Expand Down
1 change: 0 additions & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
module.exports = {
...require('eslint-config-dmitmel/prettier.config.js'),
printWidth: 100,
};
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
"@typescript-eslint/parser": "^5.57.0",
"eslint": "^8.37.0",
"eslint-config-dmitmel": "github:dmitmel/eslint-config-dmitmel",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.8.7",
Expand Down
25 changes: 5 additions & 20 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 78bf6db

Please sign in to comment.