Skip to content

Commit

Permalink
update linting (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherChudzicki committed Jul 11, 2023
1 parent b5d421e commit 3f545fd
Show file tree
Hide file tree
Showing 3 changed files with 593 additions and 133 deletions.
13 changes: 4 additions & 9 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@
module.exports = {
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint"],
extends: [
"eslint-config-mitodl",
'plugin:@typescript-eslint/recommended',
],
extends: ["eslint-config-mitodl"],
settings: {
react: {
version: "16.4.0"
}
},
env: {
browser: true,
jquery: true,
jest: true
jquery: true,
jest: true
},
rules: {
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-explicit-any": "off"
}
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,19 @@
"@types/ramda": "^0.27.27",
"@types/react": "^16.9.49",
"@types/react-dom": "^16.9.8",
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.37.0",
"babel-eslint": "10.x",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.4",
"eslint": "^7.32.0",
"eslint-config-google": "0.x",
"eslint-config-mitodl": "^0.2.1",
"eslint-config-mitodl": "^1.0.0",
"eslint-plugin-babel": "5.x",
"eslint-plugin-flow-vars": "^0.5.0",
"eslint-plugin-flowtype": "4.x",
"eslint-plugin-mocha": "6.x",
"eslint-plugin-react": "7.x",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"history": "^5.3.0",
"history-v4": "npm:history@^4.9",
Expand Down
Loading

0 comments on commit 3f545fd

Please sign in to comment.