Skip to content

Commit

Permalink
fix lint (#573)
Browse files Browse the repository at this point in the history
  • Loading branch information
inverse authored Dec 31, 2023
1 parent c6ad233 commit 4d1980d
Show file tree
Hide file tree
Showing 7 changed files with 3,363 additions and 3,083 deletions.
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Allow ESLint to lint hidden files
!.*

build/**
node_modules/**
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-var-requires": "off",
"import/order": ["warn", {
"alphabetize": {
"order": "asc"
Expand Down
6,421 changes: 3,345 additions & 3,076 deletions package-lock.json

Large diffs are not rendered by default.

11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@types/google.analytics": "^0.0.39",
"@types/jest": "^23.1.6",
"@types/lodash": "^4.14.112",
"@types/node": "^10.5.2",
"@types/node": "16.18.69",
"@types/qs": "^6.5.1",
"@types/react": "^16.4.6",
"@types/react-datepicker": "^3.1.2",
Expand All @@ -72,22 +72,25 @@
"@types/react-recaptcha": "^2.3.3",
"@types/react-router-dom": "^4.3.0",
"@types/universal-cookie": "^2.2.0",
"@typescript-eslint/eslint-plugin": "^4.17.0",
"@typescript-eslint/parser": "^4.17.0",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
"babel-preset-env": "^1.4.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react-hooks": "^5.0.0-canary-1fdacbefd-20230630",
"husky": "^4.3.7",
"jest": "^27.5.1",
"jsonlint": "^1.6.3",
"lint-staged": "^9.2.1",
"prettier": "^2.2.1",
"sass": "^1.43.2",
"source-map-loader": "^0.2.3",
"tslint": "^4.5.1",
"typescript": "^4.2.3"
"typescript": "^4.2.3",
"webpack": "^5.89.0",
"webpack-dev-server": "^4.15.1"
},
"browserslist": {
"production": [
Expand Down
1 change: 0 additions & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* global require process */
/* eslint-disable no-console */
/* eslint-disable promise/always-return */

// Do this as the first thing so that any code reading it knows the right env.
process.env.BABEL_ENV = 'production'
Expand Down
1 change: 0 additions & 1 deletion scripts/start.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* global require process */
/* eslint-disable no-console */
/* eslint-disable consistent-return */
/* eslint-disable promise/always-return */

// Do this as the first thing so that any code reading it knows the right env.
process.env.BABEL_ENV = process.env.BABEL_ENV || 'development'
Expand Down
6 changes: 5 additions & 1 deletion src/scenes/ConferenceForm/utils.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
/* global describe, it, expect */

import { isValidTwitterHandle, isValidMastodonHandle, showWarningForTopics } from './utils'
import {
isValidTwitterHandle,
isValidMastodonHandle,
showWarningForTopics,
} from './utils'

describe('RegEx', () => {
describe('showWarningForTopics', () => {
Expand Down

0 comments on commit 4d1980d

Please sign in to comment.