Update dev dependencies (#4534)
This commit is contained in:
parent
f270ec42a5
commit
1e195c05f6
|
|
@ -1,18 +1,7 @@
|
||||||
import prettier from 'eslint-plugin-prettier';
|
import prettier from 'eslint-plugin-prettier';
|
||||||
import unicorn from 'eslint-plugin-unicorn';
|
import unicorn from 'eslint-plugin-unicorn';
|
||||||
import globals from 'globals';
|
import globals from 'globals';
|
||||||
import path from 'node:path';
|
|
||||||
import { fileURLToPath } from 'node:url';
|
|
||||||
import js from '@eslint/js';
|
import js from '@eslint/js';
|
||||||
import { FlatCompat } from '@eslint/eslintrc';
|
|
||||||
|
|
||||||
const __filename = fileURLToPath(import.meta.url);
|
|
||||||
const __dirname = path.dirname(__filename);
|
|
||||||
const compat = new FlatCompat({
|
|
||||||
baseDirectory: __dirname,
|
|
||||||
recommendedConfig: js.configs.recommended,
|
|
||||||
allConfig: js.configs.all
|
|
||||||
});
|
|
||||||
|
|
||||||
export default [
|
export default [
|
||||||
{
|
{
|
||||||
|
|
@ -28,11 +17,11 @@ export default [
|
||||||
'test/prepostscripts/*'
|
'test/prepostscripts/*'
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
...compat.extends('eslint:recommended', 'plugin:unicorn/recommended'),
|
js.configs.recommended,
|
||||||
|
unicorn.configs.recommended,
|
||||||
{
|
{
|
||||||
plugins: {
|
plugins: {
|
||||||
prettier,
|
prettier
|
||||||
unicorn
|
|
||||||
},
|
},
|
||||||
|
|
||||||
languageOptions: {
|
languageOptions: {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
import { parse } from 'node:url';
|
import { parse } from 'node:url';
|
||||||
|
|
||||||
|
// eslint-disable-next-line unicorn/no-named-default
|
||||||
import { default as _merge } from 'lodash.merge';
|
import { default as _merge } from 'lodash.merge';
|
||||||
|
|
||||||
import { getLogger } from '@sitespeed.io/log';
|
import { getLogger } from '@sitespeed.io/log';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
// eslint-disable-next-line unicorn/no-named-default
|
||||||
import { default as _get } from 'lodash.get';
|
import { default as _get } from 'lodash.get';
|
||||||
|
|
||||||
export function get(object, property, defaultValue) {
|
export function get(object, property, defaultValue) {
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
16
package.json
16
package.json
|
|
@ -66,18 +66,18 @@
|
||||||
"ava": "6.1.3",
|
"ava": "6.1.3",
|
||||||
"changelog-parser": "3.0.1",
|
"changelog-parser": "3.0.1",
|
||||||
"clean-css-cli": "5.6.3",
|
"clean-css-cli": "5.6.3",
|
||||||
"eslint": "9.7.0",
|
"eslint": "9.30.1",
|
||||||
"eslint-config-prettier": "9.1.0",
|
"eslint-config-prettier": "10.1.5",
|
||||||
"eslint-plugin-prettier": "5.2.1",
|
"eslint-plugin-prettier": "5.5.1",
|
||||||
"eslint-plugin-unicorn": "56.0.1",
|
"eslint-plugin-unicorn": "59.0.1",
|
||||||
"feed": "4.2.2",
|
"feed": "4.2.2",
|
||||||
"jsdoc": "4.0.3",
|
"jsdoc": "4.0.3",
|
||||||
"license-checker": "^25.0.0",
|
"license-checker": "25.0.0",
|
||||||
"marked": "4.2.12",
|
"marked": "4.2.12",
|
||||||
"sass": "1.77.6",
|
"sass": "1.77.6",
|
||||||
"prettier": "3.3.2",
|
"prettier": "3.6.2",
|
||||||
"pug-lint": "^2.7.0",
|
"pug-lint": "2.7.0",
|
||||||
"pug-lint-config-clock": "^2.0.0"
|
"pug-lint-config-clock": "2.0.0"
|
||||||
},
|
},
|
||||||
"exports": "./lib/sitespeed.js",
|
"exports": "./lib/sitespeed.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
import test from 'ava';
|
import test from 'ava';
|
||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
import { getLogger } from '@sitespeed.io/log';
|
import { getLogger } from '@sitespeed.io/log';
|
||||||
|
// eslint-disable-next-line unicorn/no-named-default
|
||||||
import { default as GraphitePlugin } from '../lib/plugins/graphite/index.js';
|
import { default as GraphitePlugin } from '../lib/plugins/graphite/index.js';
|
||||||
|
|
||||||
import { GraphiteDataGenerator as DataGenerator } from '../lib/plugins/graphite/data-generator.js';
|
import { GraphiteDataGenerator as DataGenerator } from '../lib/plugins/graphite/data-generator.js';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue