Skip to content

Commit

Permalink
feat: move react config to base package
Browse files Browse the repository at this point in the history
  • Loading branch information
UncleClapton committed Mar 31, 2023
1 parent afcb93a commit 7a74878
Show file tree
Hide file tree
Showing 21 changed files with 129 additions and 474 deletions.
18 changes: 3 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,15 @@ This is a monorepo for all eslint-related packages. Check them out below!

### [@fuelrats/eslint-config][eslint-config-fuelrats]

Base ESLint ruleset with [`@babel/eslint-parser`][babel-eslint-parser] as the primary parser. Generally intended for node.js backend projects.

### [@fuelrats/eslint-config-react][eslint-config-fuelrats-react]

Companion config to [`@fuelrats/eslint-config`][eslint-config-fuelrats]. Built specifically for our react projects.
ESLint configs for Plain JS, Babel, React, & TypeScript projects.

### [@fuelrats/eslint-plugin][eslint-plugin-fuelrats]

Optional plugin to provide custom lint rules for our projects to follow.
Optional plugin to provide custom lint rules for our projects.

## Installation

* For regular javascript or node.js projects, go to [`@fuelrats/eslint-config`][eslint-config-fuelrats].
* For React projects, go to [`@fuelrats/eslint-config-react`][eslint-config-fuelrats-react].
* For projects which utilize typescript, see the best corresponding package above
See [`@fuelrats/eslint-config`][eslint-config-fuelrats]

## Development

Expand All @@ -48,12 +42,6 @@ yarn install

3. Done! 🎉

### Publishing and Versioning

**FOR TECHRATS**

To publish and version the monorepo packages, Read [this](docs/publishing_and_versions.md).

## Credits

Our code style and this config set was inspired by and derived from the AirBnB javascript style guide.
Expand Down
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-fuelrats",
"version": "0.0.0-dev.1",
"version": "0.0.0-development",
"description": "Monorepo for @fuelrats/eslint-config[-react]!",
"private": true,
"license": "MIT",
Expand Down Expand Up @@ -37,7 +37,6 @@
"workspaces": [
"packages/*"
],
"main": "./packages/eslint-config/index.js",
"scripts": {
"build": "yarn workspaces foreach run build",
"release": "yarn workspaces foreach run release",
Expand Down Expand Up @@ -72,8 +71,8 @@
"semantic-release-monorepo": "^7.0.5",
"typescript": "^4.9.5"
},
"packageManager": "yarn@3.4.1",
"resolutions": {
"@semantic-release/npm": "patch:@semantic-release/npm@npm%3A9.0.2#./.yarn/patches/@semantic-release-npm-npm-9.0.2-01eb854535.patch"
}
},
"packageManager": "yarn@3.4.1"
}
21 changes: 0 additions & 21 deletions packages/eslint-config-react/.releaserc

This file was deleted.

145 changes: 0 additions & 145 deletions packages/eslint-config-react/README.md

This file was deleted.

8 changes: 0 additions & 8 deletions packages/eslint-config-react/develop.ts

This file was deleted.

11 changes: 0 additions & 11 deletions packages/eslint-config-react/index.ts

This file was deleted.

100 changes: 0 additions & 100 deletions packages/eslint-config-react/package.json

This file was deleted.

9 changes: 0 additions & 9 deletions packages/eslint-config-react/tsconfig.json

This file was deleted.

8 changes: 0 additions & 8 deletions packages/eslint-config-react/typescript.ts

This file was deleted.

10 changes: 0 additions & 10 deletions packages/eslint-config-react/util/internal.ts

This file was deleted.

3 changes: 2 additions & 1 deletion packages/eslint-config/.releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
{
"pkgRoot": "../../dist/eslint-config"
}
]
],
"@semantic-release/github"
]
}
Loading

0 comments on commit 7a74878

Please sign in to comment.