-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: wrap config ourselves, clean up migration guide, etc
- Loading branch information
1 parent
9cfa832
commit f279523
Showing
7 changed files
with
18 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
const {fixupConfigRules} = require('@eslint/compat'); | ||
|
||
/** | ||
* @type {import('eslint').Linter.FlatConfig[]} | ||
*/ | ||
module.exports = [ | ||
...require('@atmina/linting/eslint/recommended'), | ||
require('@atmina/linting/eslint/tailwind'), | ||
...fixupConfigRules( | ||
require('@atmina/linting/eslint/next')(require('@next/eslint-plugin-next')), | ||
), | ||
require('@atmina/linting/eslint/next')(require('@next/eslint-plugin-next')), | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@atmina/linting", | ||
"version": "3.0.0", | ||
"version": "2.3.0", | ||
"description": "A collection of opinionated in-house linting rules.", | ||
"main": "index.js", | ||
"scripts": {}, | ||
|
@@ -21,6 +21,7 @@ | |
"author": "ATMINA Solutions GmbH <[email protected]>", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@eslint/compat": "^1.2.0", | ||
"@types/eslint": "9.6.1", | ||
"@types/node": "20.16.10", | ||
"@types/prettier": "3.0.0", | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.