-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update to eslint v9, remove markdown lint due to complexity (#177
- Loading branch information
Showing
10 changed files
with
208 additions
and
206 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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
import js from '@eslint/js'; | ||
import prettier from 'eslint-plugin-prettier'; | ||
import prettierRecommended from 'eslint-plugin-prettier/recommended'; | ||
import node from 'eslint-plugin-n'; | ||
|
||
export default [ | ||
js.configs.recommended, | ||
node.configs['flat/recommended-module'], | ||
prettierRecommended, | ||
{ | ||
ignores: [ | ||
'packages/tsconfck/tests/fixtures/parse/invalid/**/*', | ||
'packages/tsconfck/tests/fixtures/find-all/recursive-symlink/**/*', | ||
'packages/tsconfck/tests/snapshots/**/*' | ||
] | ||
}, | ||
{ | ||
plugins: { | ||
node, | ||
prettier | ||
} | ||
}, | ||
{ | ||
languageOptions: { | ||
globals: { | ||
Atomics: 'readonly', | ||
SharedArrayBuffer: 'readonly' | ||
}, | ||
parserOptions: { | ||
ecmaVersion: 2022 | ||
} | ||
}, | ||
rules: { | ||
'no-debugger': ['error'] | ||
} | ||
}, | ||
{ | ||
files: ['**/tests/fixtures/**/*.js', '**/tests/fixtures/**/*.ts'], | ||
rules: { | ||
'no-unused-vars': 'off' | ||
} | ||
} | ||
]; |
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
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
Oops, something went wrong.