@mkappelhof/eslint-config-remix 1.0.1

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/.eslintrc.yml ADDED
@@ -0,0 +1,7 @@
1
+ env:
2
+ browser: true
3
+ es2021: true
4
+ extends:
5
+ - '@mkappelhof/eslint-config-base'
6
+ - '@mkappelhof/eslint-config-react'
7
+ - '@remix-run/eslint-config'
package/.prettierrc ADDED
@@ -0,0 +1 @@
1
+ "@mkappelhof/prettier-config"
package/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ # @mkappelhof/eslint-config-remix
2
+
3
+ ## 1.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 0e9c110: Add Remix config
package/README.md ADDED
@@ -0,0 +1,21 @@
1
+ # Shared ESLint configuration for Remix projects
2
+
3
+ This ESLint configuration is for projects that use Remix.
4
+
5
+ - For Next.js projects use [@mkappelhof/eslint-config-next](https://www.npmjs.com/package/@mkappelhof/eslint-config-next)
6
+ - For React projects use [@mkappelhof/eslint-config-react](https://www.npmjs.com/package/@mkappelhof/eslint-config-react)
7
+ - For Node.js projects use [@mkappelhof/eslint-config-node](https://www.npmjs.com/package/@mkappelhof/eslint-config-node)
8
+
9
+ ## Installation
10
+
11
+ Add the configuration as a dev dependency:
12
+
13
+ `yarn add @mkappelhof/eslint-config-remix`
14
+
15
+ Then create a `.eslintrc.js` config file with the following content:
16
+
17
+ ```JavaScript
18
+ module.exports = {
19
+ extends: ['@mkappelhof/eslint-config-remix'],
20
+ };
21
+ ```
package/index.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = { extends: './.eslintrc.yml' };
package/package.json ADDED
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "@mkappelhof/eslint-config-remix",
3
+ "version": "1.0.1",
4
+ "main": "index.js",
5
+ "license": "MIT",
6
+ "repository": "git@github.com:mkappelhof/frontend-tools.git",
7
+ "author": "Maurice Kappelhof <maurice@mauricekappelhof.nl>",
8
+ "scripts": {
9
+ "build": "rollup -c",
10
+ "test": "yaml-validator .eslintrc.yml"
11
+ },
12
+ "dependencies": {
13
+ "@mkappelhof/eslint-config-base": "*",
14
+ "@mkappelhof/eslint-config-react": "*",
15
+ "@mkappelhof/prettier-config": "*",
16
+ "eslint-config-next": "13.4.13",
17
+ "eslint-plugin-react": "7.33.1",
18
+ "yaml-validator": "5.1.0"
19
+ },
20
+ "peerDependencies": {
21
+ "eslint": "8.46.0",
22
+ "react": "18.2.0",
23
+ "typescript": "5.1.6"
24
+ },
25
+ "keywords": [
26
+ "eslint",
27
+ "config",
28
+ "remix.js",
29
+ "remix.run",
30
+ "typescript"
31
+ ],
32
+ "devDependencies": {
33
+ "@remix-run/eslint-config": "2.1.0"
34
+ }
35
+ }
@@ -0,0 +1 @@
1
+ module.exports = require('../eslint-config-base/rollup.config.js');