@nitra/eslint-config 2.3.2 → 3.0.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/index.js +2 -0
- package/package.json +8 -7
package/index.js
CHANGED
|
@@ -5,6 +5,7 @@ import { flatConfigs as importPlugin } from 'eslint-plugin-import'
|
|
|
5
5
|
import jsdocPlugin from 'eslint-plugin-jsdoc'
|
|
6
6
|
import markdownPlugin from 'eslint-plugin-markdown'
|
|
7
7
|
import nodePlugin from 'eslint-plugin-n'
|
|
8
|
+
import oxlint from 'eslint-plugin-oxlint'
|
|
8
9
|
import securityPlugin from 'eslint-plugin-security'
|
|
9
10
|
import unicornPlugin from 'eslint-plugin-unicorn'
|
|
10
11
|
import vuePlugin from 'eslint-plugin-vue'
|
|
@@ -247,5 +248,6 @@ export function getConfig(params = { node: [], vue: [], vue2: [] }) {
|
|
|
247
248
|
result.push(...vueJSConfig)
|
|
248
249
|
}
|
|
249
250
|
|
|
251
|
+
result.push(oxlint.configs['flat/recommended'])
|
|
250
252
|
return result
|
|
251
253
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nitra/eslint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "A Eslint shareable config for projects using 'Vue' and 'Node'",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./index.js",
|
|
@@ -14,18 +14,19 @@
|
|
|
14
14
|
"eslintconfig"
|
|
15
15
|
],
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@eslint/js": "^9.
|
|
18
|
-
"eslint": "^9.
|
|
19
|
-
"eslint-config-prettier": "^
|
|
17
|
+
"@eslint/js": "^9.19.0",
|
|
18
|
+
"eslint": "^9.19.0",
|
|
19
|
+
"eslint-config-prettier": "^10.0.1",
|
|
20
20
|
"eslint-plugin-import": "^2.31.0",
|
|
21
|
-
"eslint-plugin-jsdoc": "^50.6.
|
|
21
|
+
"eslint-plugin-jsdoc": "^50.6.3",
|
|
22
22
|
"eslint-plugin-markdown": "^5.1.0",
|
|
23
|
-
"eslint-plugin-n": "^17.15.
|
|
23
|
+
"eslint-plugin-n": "^17.15.1",
|
|
24
|
+
"eslint-plugin-oxlint": "^0.15.9",
|
|
24
25
|
"eslint-plugin-security": "^3.0.1",
|
|
25
26
|
"eslint-plugin-unicorn": "^56.0.1",
|
|
26
27
|
"eslint-plugin-vue": "^9.32.0",
|
|
27
28
|
"eslint-plugin-yml": "^1.16.0",
|
|
28
|
-
"globals": "^15.
|
|
29
|
+
"globals": "^15.14.0"
|
|
29
30
|
},
|
|
30
31
|
"files": [
|
|
31
32
|
"index.js"
|