@theholocron/eslint-config 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ # @theholocron/eslint-config
2
+
3
+ ## 1.16.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`4309ce8`](https://github.com/theholocron/configs/commit/4309ce860374743fa4a4ea781820f3875e647a46) Thanks [@iamnewton](https://github.com/iamnewton)! - Releasing more, as a test
package/README.md ADDED
@@ -0,0 +1,21 @@
1
+ # ESLint Config
2
+
3
+ A [ESLint configuration](https://eslint.org/docs/latest/use/configure/configuration-files) writing well-formed Javascript.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install --save-dev @theholocron/eslint-config
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ In your project `package.json` add the following:
14
+
15
+ ```json
16
+ {
17
+ "eslintConfig": {
18
+ "extends": "@theholocron"
19
+ },
20
+ }
21
+ ```
@@ -0,0 +1,25 @@
1
+ import pluginJs from "@eslint/js";
2
+ import pluginReact from "eslint-plugin-react";
3
+ import globals from "globals";
4
+ import tseslint from "typescript-eslint";
5
+
6
+ /**
7
+ * @see https://eslint.org/docs/latest/use/configure/
8
+ * @type {import("eslint").Linter.Config}
9
+ */
10
+ export default [
11
+ {
12
+ files: ["**/*.{js,mjs,cjs,ts,jsx,tsx}"],
13
+ },
14
+ {
15
+ languageOptions: {
16
+ globals: {
17
+ ...globals.browser,
18
+ ...globals.node,
19
+ },
20
+ },
21
+ },
22
+ pluginJs.configs.recommended,
23
+ ...tseslint.configs.recommended,
24
+ pluginReact.configs.flat.recommended,
25
+ ];
package/package.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "@theholocron/eslint-config",
3
+ "homepage": "https://github.com/theholocron/configs/tree/main/packages/commitlint-config#readme",
4
+ "description": "A ESLint configuration for writing well-formed Javascript within the Galaxy.",
5
+ "author": "Newton Koumantzelis",
6
+ "version": "1.16.0",
7
+ "main": "eslint.config.js",
8
+ "type": "module",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/theholocron/configs.git"
12
+ },
13
+ "bugs": "https://github.com/theholocron/configs/issues",
14
+ "releases": "https://github.com/theholocron/configs/releases",
15
+ "wiki": "https://github.com/theholocron/configs/wiki",
16
+ "license": "GPL-3.0",
17
+ "publishConfig": {
18
+ "access": "public"
19
+ },
20
+ "dependencies": {
21
+ "@eslint/js": "^9.12.0",
22
+ "eslint": "^9.12.0",
23
+ "eslint-plugin-react": "^7.37.1",
24
+ "globals": "^15.11.0"
25
+ }
26
+ }