Skip to content

Commit

Permalink
Merge pull request #130 from mavenlink/bump-eslint-to-v7
Browse files Browse the repository at this point in the history
Bump eslint to v7; remove deprecated eslint-loader
  • Loading branch information
guanw88 authored Apr 2, 2024
2 parents 80d8cde + 6a753f8 commit a870faf
Show file tree
Hide file tree
Showing 4 changed files with 381 additions and 356 deletions.
8 changes: 4 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ module.exports = {
'import',
],
rules: {
"function-paren-newline": "off",
"no-restricted-syntax": "off",
"react/no-deprecated": "off",
"import/prefer-default-export": "off",
'function-paren-newline': 'off',
'no-restricted-syntax': 'off',
'react/no-deprecated': 'off',
'import/prefer-default-export': 'off',
},
};
6 changes: 3 additions & 3 deletions example/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ module.exports = {
'no-unused-vars': 'off',
'no-param-reassign': 'off',
'arrow-body-style': 'off',
'camelcase': 'off',
camelcase: 'off',
'react/prop-types': 'off',
'react/prefer-es6-class': 'off',
'eol-last': 'off',
'spaced-comment': 'off',
'padded-blocks': 'off',
'indent': 'off',
indent: 'off',
'no-tabs': 'off',
'comma-dangle': 'off',
'no-mixed-spaces-and-tabs': 'off',
'curly': 'off',
curly: 'off',
'func-names': 'off',
},
};
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@
"backbone": "1.1.2",
"brainstem-js": "^0.7.1",
"core-js": "2.x.x",
"eslint": "^6.8.0",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-loader": "^2.2.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-webpack-plugin": "^3.2.0",
"jasmine-core": "2.5.2",
"jquery": "^3.7.1",
"karma": "^6.4.3",
Expand Down
Loading

0 comments on commit a870faf

Please sign in to comment.