Skip to content

Commit

Permalink
chore: update dotfiles to match repo
Browse files Browse the repository at this point in the history
  • Loading branch information
lihbr committed May 27, 2021
1 parent 535206a commit 79017f4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ lerna-debug.log*

# npm
npm-debug.log*
package-lock.json
# package-lock.json # version package lock for now

# tests
coverage
Expand Down
13 changes: 5 additions & 8 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@ module.exports = {
root: true,
env: {
browser: true,
node: true,
es6: true
node: true
},
parserOptions: {
parser: "@typescript-eslint/parser",
ecmaVersion: 2020
},
extends: [
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
plugins: [],
rules: {
"no-console": ["warn", { allow: ["info", "warn", "error"] }],
"no-debugger": "warn",
Expand All @@ -21,11 +22,7 @@ module.exports = {
"prefer-const": "error",
"padding-line-between-statements": [
"error",
{
blankLine: "always",
prev: "*",
next: "return"
}
{ blankLine: "always", prev: "*", next: "return" }
],
"@typescript-eslint/no-unused-vars": [
"error",
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ lerna-debug.log*

# npm
npm-debug.log*
package-lock.json
# package-lock.json # version package lock for now

# tests
coverage
Expand Down
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"requirePragma": false,
"insertPragma": false,
"htmlWhitespaceSensitivity": "css",
"endOfLine": "lf",
"endOfLine": "lf"
}

0 comments on commit 79017f4

Please sign in to comment.