Skip to content

Commit f710e8d

Browse files
committed
Attempt to upgrade eslint
1 parent cc08d65 commit f710e8d

25 files changed

+468
-753
lines changed

.eslintrc.json

-5
This file was deleted.

apps/hello-world/.eslintrc.json

-5
This file was deleted.

apps/hello-world/eslint.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from "@stanlemon/eslint-config";

apps/hello-world/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"scripts": {
99
"start": "webpack serve",
1010
"build": "webpack",
11-
"lint": "eslint --ext js,jsx,ts,tsx ./src/",
12-
"lint:fix": "eslint --fix --ext js,jsx,ts,tsx ./src/"
11+
"lint": "eslint .",
12+
"lint:fix": "eslint --fix ."
1313
},
1414
"dependencies": {
1515
"@stanlemon/webdev": "*",

apps/react-pouchdb-example/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"tsc": "tsc",
1515
"test": "jest",
1616
"test:coverage": "jest --coverage",
17-
"lint": "eslint --ext js,jsx,ts,tsx ./src/",
18-
"lint:fix": "eslint --fix --ext js,jsx,ts,tsx ./src/"
17+
"lint": "eslint .",
18+
"lint:fix": "eslint --fix ."
1919
},
2020
"dependencies": {
2121
"@fortawesome/fontawesome-svg-core": "^6.6.0",

apps/react-pouchdb-example/src/App.test.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ PouchDB.plugin(PouchDBMemoryAdapter);
1010
window.setImmediate = setImmediate;
1111

1212
describe("<App />", () => {
13-
// eslint-disable-next-line jest/expect-expect
1413
it("renders", async () => {
1514
const db = new PouchDB("test", {
1615
adapter: "memory",

apps/template/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"test": "jest --detectOpenHandles",
1818
"test:watch": "jest -w",
1919
"test:coverage": "jest --coverage",
20-
"lint": "eslint --ext js,jsx,ts,tsx ./src/",
21-
"lint:fix": "eslint --fix --ext js,jsx,ts,tsx ./src/"
20+
"lint": "eslint .",
21+
"lint:fix": "eslint --fix ."
2222
},
2323
"dependencies": {
2424
"@stanlemon/server-with-auth": "*",

eslint.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from "@stanlemon/eslint-config";

0 commit comments

Comments
 (0)