@mkappelhof/eslint-config-next 1.0.3 → 1.0.4

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.
@@ -0,0 +1,4 @@
1
+ $ rollup -c
2
+ 
3
+ ./index.js → ./dist/index.js...
4
+ created ./dist/index.js in 17ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @mkappelhof/eslint-config-next
2
2
 
3
+ ## 1.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 3561b82: Add readme's
8
+ - Updated dependencies [3561b82]
9
+ - @mkappelhof/eslint-config-base@1.0.4
10
+ - @mkappelhof/eslint-config-react@1.0.4
11
+ - @mkappelhof/prettier-config@1.0.4
12
+
3
13
  ## 1.0.3
4
14
 
5
15
  ### Patch Changes
package/README.md ADDED
@@ -0,0 +1,20 @@
1
+ # Shared ESLint configuration for NextJS projects
2
+
3
+ This ESLint configuration is for projects that use NextJS.
4
+
5
+ - For Node.js projects use [@mkappelhof/eslint-config-node](https://www.npmjs.com/package/@mkappelhof/eslint-config-node)
6
+ - For React projects use [@mkappelhof/eslint-config-react](https://www.npmjs.com/package/@mkappelhof/eslint-config-react)
7
+
8
+ ## Installation
9
+
10
+ Add the configuration as a dev dependency:
11
+
12
+ `yarn add @mkappelhof/eslint-config-next`
13
+
14
+ Then create a `.eslintrc.js` config file with the following content:
15
+
16
+ ```JavaScript
17
+ module.exports = {
18
+ extends: ['@mkappelhof/eslint-config-next'],
19
+ };
20
+ ```
@@ -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
+ - next/core-web-vitals
@@ -0,0 +1,11 @@
1
+ # @mkappelhof/eslint-config-next
2
+
3
+ ## 1.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 9f6c9a4: add changeset
8
+ - Updated dependencies [9f6c9a4]
9
+ - @mkappelhof/eslint-config-base@1.0.1
10
+ - @mkappelhof/eslint-config-react@1.0.1
11
+ - @mkappelhof/prettier-config@1.0.1
package/dist/index.js ADDED
@@ -0,0 +1,3 @@
1
+ 'use strict';
2
+
3
+ module.exports = { extends: './.eslintrc.yml' };
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "@mkappelhof/eslint-config-next",
3
+ "version": "1.0.1",
4
+ "main": "index.js",
5
+ "license": "MIT",
6
+ "scripts": {
7
+ "build": "rollup -c",
8
+ "test": "yaml-validator .eslintrc.yml"
9
+ },
10
+ "dependencies": {
11
+ "@mkappelhof/eslint-config-base": "*",
12
+ "@mkappelhof/eslint-config-react": "*",
13
+ "@mkappelhof/prettier-config": "*",
14
+ "eslint-config-next": "13.4.13",
15
+ "eslint-plugin-react": "7.33.1",
16
+ "yaml-validator": "5.1.0"
17
+ },
18
+ "peerDependencies": {
19
+ "eslint": "8.46.0",
20
+ "next": "13.4.13",
21
+ "react": "18.2.0",
22
+ "typescript": "5.1.6"
23
+ }
24
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mkappelhof/eslint-config-next",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "repository": "git@github.com:mkappelhof/frontend-tools.git",