Skip to content

Commit 85e3281

Browse files
author
psyco
committed
installed and configured eslint/prettier
1 parent a673d8b commit 85e3281

File tree

103 files changed

+19531
-18137
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+19531
-18137
lines changed

.eslintrc.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{
2-
"extends": "next/core-web-vitals"
2+
"extends": ["next/core-web-vitals", "prettier"],
3+
"rules": {
4+
"no-console": 2,
5+
"react-hooks/exhaustive-deps": 0
6+
}
37
}

.prettierignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/__mocks__
2+
/.next
3+
/.vscode
4+
/coverage
5+
/node_modules
6+
**/__snapshots__

.prettierrc.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"useTabs": true
3+
}

babel.config.js

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
module.exports = {
2-
"presets": [
3-
"next/babel"
4-
],
5-
"plugins": []
6-
}
2+
presets: ["next/babel"],
3+
plugins: [],
4+
};

cypress.config.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { defineConfig } from "cypress";
22

33
export default defineConfig({
4-
e2e: {
5-
supportFile: false,
6-
video: false,
7-
setupNodeEvents(on, config) {
8-
// implement node event listeners here
9-
},
10-
},
4+
e2e: {
5+
supportFile: false,
6+
video: false,
7+
setupNodeEvents(on, config) {
8+
// implement node event listeners here
9+
},
10+
},
1111
});

cypress/e2e/index.cy.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { cy, Cypress, expect, it } from 'local-cypress'
1+
import { cy, Cypress, expect, it } from "local-cypress";
22

3-
describe('empty spec', () => {
4-
it('passes', () => {
5-
cy.visit('https://example.cypress.io')
6-
})
7-
})
3+
describe("empty spec", () => {
4+
it("passes", () => {
5+
cy.visit("https://example.cypress.io");
6+
});
7+
});

0 commit comments

Comments
 (0)