Skip to content

Commit

Permalink
Merge pull request #146 from github/upstream-changes
Browse files Browse the repository at this point in the history
Cleanup
  • Loading branch information
koddsson committed Nov 16, 2021
2 parents 319365e + 2892e64 commit 8c21392
Show file tree
Hide file tree
Showing 6 changed files with 106 additions and 20 deletions.
11 changes: 0 additions & 11 deletions .flowconfig

This file was deleted.

2 changes: 0 additions & 2 deletions .prettierignore

This file was deleted.

4 changes: 3 additions & 1 deletion lib/configs/browser.js
Expand Up @@ -2,8 +2,10 @@ module.exports = {
env: {
browser: true
},
plugins: ['github'],
plugins: ['github', 'escompat'],
extends: ['plugin:escompat/recommended', 'plugin:escompat/typescript'],
rules: {
'escompat/no-dynamic-imports': 'off',
'github/async-currenttarget': 'error',
'github/async-preventdefault': 'error',
'github/get-attribute': 'error',
Expand Down
4 changes: 3 additions & 1 deletion lib/configs/typescript.js
Expand Up @@ -14,6 +14,8 @@ module.exports = {
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/explicit-member-accessibility': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-non-null-assertion': 'off'
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-unused-vars': 'error',
'@typescript-eslint/explicit-module-boundary-types': 'off'
}
}
103 changes: 99 additions & 4 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -28,6 +28,7 @@
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@typescript-eslint/parser": "^5.1.0",
"eslint-config-prettier": ">=8.0.0",
"eslint-plugin-escompat": "^3.1.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-i18n-text": "^1.0.1",
Expand All @@ -50,7 +51,6 @@
"@github/prettier-config": "0.0.4",
"eslint": "^8.0.1",
"eslint-plugin-eslint-plugin": "^2.3.0",
"eslint-visitor-keys": "^2.0.0",
"globals": "^13.7.0",
"mocha": "^8.3.2"
}
Expand Down

0 comments on commit 8c21392

Please sign in to comment.