Skip to content

Commit

Permalink
feat: update eslint format
Browse files Browse the repository at this point in the history
  • Loading branch information
khoilen committed Jan 4, 2025
1 parent f8af79c commit 4370305
Show file tree
Hide file tree
Showing 10 changed files with 15,511 additions and 11,618 deletions.
1 change: 0 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,3 @@ jobs:
uses: github/codeql-action/analyze@v3
with:
category: '/language:${{matrix.language}}'

36 changes: 18 additions & 18 deletions .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: Snyk Security Check
on:
push:
pull_request:
push:
pull_request:

jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies with pnpm
run: pnpm install --no-frozen-lockfile
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies with pnpm
run: pnpm install --no-frozen-lockfile
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
14 changes: 7 additions & 7 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

This document outlines security procedures and general policies for the `standard` project.

- [Security Policies and Procedures](#security-policies-and-procedures)
- [Reporting a Bug](#reporting-a-bug)
- [Disclosure Policy](#disclosure-policy)
- [Comments on this Policy](#comments-on-this-policy)
- [Security Policies and Procedures](#security-policies-and-procedures)
- [Reporting a Bug](#reporting-a-bug)
- [Disclosure Policy](#disclosure-policy)
- [Comments on this Policy](#comments-on-this-policy)

## Reporting a Bug

Expand All @@ -21,9 +21,9 @@ Report security bugs in third-party modules to the person or team maintaining th

When the security team receives a security bug report, they will assign it to a primary handler. This person will coordinate the fix and release process, involving the following steps:

* Confirm the problem and determine the affected versions.
* Audit code to find any potential similar problems.
* Prepare fixes for all releases still under maintenance. These fixes will be released as fast as possible to npm.
- Confirm the problem and determine the affected versions.
- Audit code to find any potential similar problems.
- Prepare fixes for all releases still under maintenance. These fixes will be released as fast as possible to npm.

## Comments on this Policy

Expand Down
3 changes: 1 addition & 2 deletions apps/nt-stylesheet/bin/init-tailwind.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env node

import fs from 'fs'
import { exec } from 'child_process'
import fs from 'fs'
import readline from 'readline'

export const installPackage = (packageName) => {
Expand Down
9 changes: 5 additions & 4 deletions apps/nt-stylesheet/bin/init-tailwind.spec.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import { describe, it, expect, vi } from 'vitest'
import fs from 'fs'
import { exec } from 'child_process'
import fs from 'fs'
import readline from 'readline'
import { describe, expect, it, vi } from 'vitest'

import {
installPackage,
createTailwindConfig,
createPostCSSConfig,
createTailwindConfig,
initialize,
installPackage,
} from './init-tailwind.js'

vi.mock('fs')
Expand Down
1 change: 0 additions & 1 deletion apps/nt-stylesheet/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import './styles/styles.scss'

import ntTheme from './themes'

export default ntTheme
Loading

0 comments on commit 4370305

Please sign in to comment.