chore: lint

This commit is contained in:
coderiaser 2026-05-10 22:51:18 +03:00
parent 4acd294bf6
commit ccf608a52e
3 changed files with 2 additions and 14 deletions

View file

@ -41,7 +41,7 @@ jobs:
- name: Typos
run: typos --write-changes
- name: Commit fixes
uses: EndBug/add-and-commit@v9
uses: EndBug/add-and-commit@v10
continue-on-error: true
with:
message: "chore: ${{ env.NAME }}: actions: lint ☘️"

View file

@ -1,5 +1,5 @@
{
"check-coverage": false,
"checkCoverage": false,
"all": false,
"exclude": [
"**/*.spec.js",

View file

@ -1,6 +1,5 @@
import {safeAlign} from 'eslint-plugin-putout';
import {defineConfig} from 'eslint/config';
import n from 'eslint-plugin-n';
import globals from 'globals';
import {matchToFlat} from '@putout/eslint-flat';
@ -12,23 +11,12 @@ export const match = {
'client/dom/index.*': {
'no-multi-spaces': 'off',
},
'{client,static}/**/*.{js,mjs}': {
'n/no-extraneous-require': 'off',
'n/no-unsupported-features/node-builtins': 'off',
},
'bin/cloudcmd.js': {
'no-console': 'off',
},
};
export default defineConfig([
safeAlign, {
ignores: ['**/fixture'],
rules: {
'key-spacing': 'off',
'n/prefer-node-protocol': 'error',
},
plugins: {
n,
},
}, {
files: ['{client,common,static}/**/*.js'],