Skip to content

Commit

Permalink
style: sorts out the line ending issues from prettier and eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Richards committed Oct 28, 2020
1 parent c101d94 commit b1f0fa1
Show file tree
Hide file tree
Showing 4 changed files with 559 additions and 52 deletions.
20 changes: 8 additions & 12 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,15 @@ env:
browser: true
es2021: true
extends:
- 'eslint:recommended'
- 'plugin:@typescript-eslint/recommended'
parser: '@typescript-eslint/parser'
- "eslint:recommended"
- "plugin:@typescript-eslint/recommended"
- "prettier"
- "plugin:import/typescript"
parser: "@typescript-eslint/parser"
parserOptions:
ecmaVersion: 12
sourceType: module
plugins:
- '@typescript-eslint'
rules:
linebreak-style:
- error
- windows
semi:
- error
- always
root: true
- "@typescript-eslint"
- "prettier"
rules: { "prettier/prettier": ["error", "endOfLine": "auto"] }
2 changes: 1 addition & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ module.export = {
printWidth: 80,
tabWidth: 2,
quoteProps: "consistent",
endOfLine: "crlf",
endOfLine: "auto",
};
Loading

0 comments on commit b1f0fa1

Please sign in to comment.