Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

13 changes: 0 additions & 13 deletions .eslintrc

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/lint-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Lint, Tests

on:
pull_request:
push:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
node:
name: datalens-docs
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 22
cache: 'npm'
- run: npm ci
- run: npx playwright install --with-deps chromium
- run: npm run test
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ docs/*
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# tests
test-results/.last-run.json
Binary file added assets/favicon/favicon-120x120.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/favicon/favicon-152x152.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/favicon/favicon-180x180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/favicon/favicon-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/favicon/favicon.ico
Binary file not shown.
35 changes: 35 additions & 0 deletions assets/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"short_name": "Datalens",
"name": "DataLens Tech",
"icons": [
{
"src": "favicon.ico",
"sizes": "76x76 64x64 32x32 16x16",
"type": "image/x-icon"
},
{
"src": "favicon-120x120.png",
"type": "image/png",
"sizes": "120x120"
},
{
"src": "favicon-152x152.png",
"type": "image/png",
"sizes": "152x152"
},
{
"src": "favicon-180x180.png",
"type": "image/png",
"sizes": "180x180"
},
{
"src": "favicon-192x192.png",
"type": "image/png",
"sizes": "192x192"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
17 changes: 17 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import {defineConfig} from 'eslint/config';
import baseConfig from '@gravity-ui/eslint-config';
import serverConfig from '@gravity-ui/eslint-config/server';
import prettierConfig from '@gravity-ui/eslint-config/prettier';

export default defineConfig([
...baseConfig,
...serverConfig,
...prettierConfig,
{
ignores: ['build'],
rules: {
'no-console': ['error', {allow: ['warn', 'error']}],
'security/detect-non-literal-regexp': 'off',
},
},
]);
Loading