Skip to content

Commit

Permalink
🚨 Linter updates regarding folder structure
Browse files Browse the repository at this point in the history
  • Loading branch information
i1u5 committed May 10, 2020
1 parent 0dd737f commit 64da4a8
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 46 deletions.
3 changes: 0 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,5 @@ node_modules
.npmrc
.github

qualityAssurance.ts
presenceUpdater.ts

*.js
*.d.ts
35 changes: 0 additions & 35 deletions .eslintrc.js

This file was deleted.

36 changes: 36 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"root": true,
"env": {
"browser": true,
"es6": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"project": "./tsconfig.json"
},
"rules": {
"semi": ["warn", "always", { "omitLastInOneLineBlock": true }],
"quotes": "off",
"indent": "off",
"camelcase": "off",
"comma-dangle": ["warn", "never"],
"linebreak-style": "off",
"no-console": "off",
"no-var": "off",
"no-undef": "off",
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": [2, { "args": "none" }]
},
"plugins": ["@typescript-eslint"]
}
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
*.json
*.json
*.js
7 changes: 0 additions & 7 deletions .prettierrc.js

This file was deleted.

7 changes: 7 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"trailingComma": "none",
"tabWidth": 2,
"useTabs": false,
"endOfLine": "lf",
"proseWrap": "always"
}

0 comments on commit 64da4a8

Please sign in to comment.