Skip to content

Commit

Permalink
fix: remove airbnb reference in code
Browse files Browse the repository at this point in the history
Ignore .js during linting
  • Loading branch information
kyleleow committed Jan 7, 2025
1 parent 8dc8cb2 commit 07b9e56
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 124 deletions.
8 changes: 1 addition & 7 deletions packages/eslint-config/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
module.exports = {
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"airbnb-base",
"airbnb-typescript/base",
"prettier",
],
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"],
plugins: ["simple-import-sort", "check-file", "unused-imports", "prettier"],
parser: "@typescript-eslint/parser",
rules: {
Expand Down
3 changes: 3 additions & 0 deletions packages/jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
},
"extends": [
"@ordzaar"
],
"ignorePatterns": [
"*.js"
]
},
"jest": {
Expand Down
1 change: 0 additions & 1 deletion packages/jest/src/WaitForExpect.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import waitForExpect from "wait-for-expect";

// eslint-disable-next-line import/prefer-default-export
export { waitForExpect };
16 changes: 7 additions & 9 deletions packages/standard-linter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@ Standard linter for TS projects that do not run with web frameworks. This module

Lint rules are extended from these packages

| Package | Description |
| -------------------------------- | ----------------------------------------------------- |
| @typescript-eslint/parser | Rules parser for TypeScript. |
| eslint-config-airbnb-base | Rules defined by airbnb. |
| eslint-config-airbnb-typescript | Rules defined by airbnb for TypeScript without React. |
| eslint-plugin-simple-import-sort | Rules defined for simple import sorting. |
| prettier | Rules defined by prettier to have same code styles |
| eslint-plugin-unused-imports | Rules to auto remove unused import |
| eslint-plugin-check-file | Rules to enforce file name checking (off by default) |
| Package | Description |
| -------------------------------- | ---------------------------------------------------- |
| @typescript-eslint/parser | Rules parser for TypeScript. |
| eslint-plugin-simple-import-sort | Rules defined for simple import sorting. |
| prettier | Rules defined by prettier to have same code styles |
| eslint-plugin-unused-imports | Rules to auto remove unused import |
| eslint-plugin-check-file | Rules to enforce file name checking (off by default) |
2 changes: 0 additions & 2 deletions packages/standard-prettier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
"dependencies": {
"@ordzaar/standard-typescript": "workspace:*",
"eslint": "^8.57.1",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
Expand Down
3 changes: 3 additions & 0 deletions packages/turbo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
},
"extends": [
"@ordzaar"
],
"ignorePatterns": [
"*.js"
]
},
"jest": {
Expand Down
1 change: 0 additions & 1 deletion packages/turbo/src/PackageJson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { readFileSync } from "node:fs";
/**
* `package.json` represented as constructable Class.
*/
// eslint-disable-next-line import/prefer-default-export
export class PackageJson {
private readonly json: {
name: string;
Expand Down
1 change: 0 additions & 1 deletion packages/turbo/src/TurboPlanCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { Turbo } from "./Turbo";
* You can use the output and loop through an array to run test individually via `turbo run test --filter=package`
*/

// eslint-disable-next-line import/prefer-default-export
export class TurboPlanCommand extends Command {
static override paths = [[`plan`]];

Expand Down
103 changes: 0 additions & 103 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 07b9e56

Please sign in to comment.