Skip to content

Commit

Permalink
Merge branch 'next' into docs/guide/usage/strict-typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT authored Oct 20, 2024
2 parents 71d6fc5 + 7141608 commit 6ab0f16
Show file tree
Hide file tree
Showing 16 changed files with 176 additions and 142 deletions.
1 change: 1 addition & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"matchPackageNames": [
"@eslint-types/**",
"@eslint/**",
"@stylistic/**",
"eslint",
"eslint-**",
"typescript-eslint"
Expand Down
5 changes: 5 additions & 0 deletions eslint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,13 @@ const config: ReturnType<typeof tseslint.config> = tseslint.config(
{
files: ['src/**/*.ts'],
rules: {
'no-undef': 'error', // Must override the config from typescript-eslint
'jsdoc/require-jsdoc': 'error',
},
languageOptions: {
// Don't allow any globals in our TypeScript files - unless explicitly ignored
globals: {},
},
},
{
files: ['src/locale/**/*.ts'],
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
"cypress": "13.15.0",
"eslint": "9.12.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-jsdoc": "50.3.1",
"eslint-plugin-jsdoc": "50.4.3",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-unicorn": "56.0.0",
"jiti": "1.21.6",
Expand All @@ -135,10 +135,10 @@
"tsup": "8.3.0",
"tsx": "4.19.1",
"typescript": "5.6.3",
"typescript-eslint": "8.8.1",
"typescript-eslint": "8.10.0",
"validator": "13.12.0",
"vite": "5.4.8",
"vitepress": "1.4.0",
"vitepress": "1.4.1",
"vitest": "2.1.2",
"vue": "3.5.12",
"vue-tsc": "2.1.6"
Expand Down
155 changes: 110 additions & 45 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/internal/base64.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-undef -- This file serves as a compatibility layer between environments */
/**
* This works the same as `Buffer.from(input).toString('base64')`
* to work on both Node.js and browser environment.
Expand Down
1 change: 1 addition & 0 deletions src/internal/deprecated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,6 @@ export function deprecated(opts: DeprecatedOptions): void {
message += `. Please use ${opts.proposed} instead`;
}

// eslint-disable-next-line no-undef -- Using console here is intentional and required
console.warn(`${message}.`);
}
27 changes: 4 additions & 23 deletions src/locales/en/company/adjective.ts
Original file line number Diff line number Diff line change
@@ -1,28 +1,22 @@
export default [
'AI-driven',
'Adaptive',
'Advanced',
'Ameliorated',
'Assimilated',
'Automated',
'Balanced',
'Business-focused',
'Centralized',
'Cloned',
'Compatible',
'Configurable',
'Cross-group',
'Cross-platform',
'Customer-focused',
'Customizable',
'De-engineered',
'Decentralized',
'Devolved',
'Digitized',
'Distributed',
'Diverse',
'Down-sized',
'Enhanced',
'Enterprise-wide',
'Ergonomic',
'Exclusive',
'Expanded',
Expand All @@ -31,25 +25,19 @@ export default [
'Focused',
'Front-line',
'Fully-configurable',
'Function-based',
'Fundamental',
'Future-proofed',
'Grass-roots',
'Horizontal',
'Immersive',
'Implemented',
'Innovative',
'Integrated',
'Intuitive',
'Inverse',
'Managed',
'Mandatory',
'Monitored',
'Multi-channelled',
'Multi-lateral',
'Multi-layered',
'Multi-tiered',
'Networked',
'Object-based',
'Open-architected',
'Open-source',
'Operative',
Expand All @@ -61,42 +49,35 @@ export default [
'Persistent',
'Phased',
'Polarised',
'Pre-emptive',
'Proactive',
'Profit-focused',
'Profound',
'Programmable',
'Progressive',
'Public-key',
'Quality-focused',
'Re-contextualized',
'Re-engineered',
'Reactive',
'Realigned',
'Reduced',
'Reverse-engineered',
'Right-sized',
'Robust',
'Seamless',
'Secured',
'Self-enabling',
'Sharable',
'Smart',
'Stand-alone',
'Streamlined',
'Switchable',
'Sustainable',
'Synchronised',
'Synergistic',
'Synergized',
'Team-oriented',
'Total',
'Triple-buffered',
'Universal',
'Up-sized',
'Upgradable',
'User-centric',
'User-friendly',
'Versatile',
'Virtual',
'Vision-oriented',
'Visionary',
];
15 changes: 7 additions & 8 deletions src/locales/en/company/buzz_adjective.ts
Original file line number Diff line number Diff line change
@@ -1,32 +1,31 @@
export default [
'24/365',
'24/7',
'AI-driven',
'B2B',
'B2C',
'back-end',
'best-of-breed',
'bleeding-edge',
'bricks-and-clicks',
'clicks-and-mortar',
'collaborative',
'compelling',
'cross-media',
'cross-platform',
'customized',
'cutting-edge',
'decentralized',
'distributed',
'dot-com',
'dynamic',
'e-business',
'efficient',
'end-to-end',
'enterprise',
'extensible',
'frictionless',
'front-end',
'generative',
'global',
'granular',
'holistic',
'immersive',
'impactful',
'innovative',
'integrated',
Expand All @@ -42,15 +41,17 @@ export default [
'out-of-the-box',
'plug-and-play',
'proactive',
'quantum',
'real-time',
'revolutionary',
'rich',
'robust',
'scalable',
'seamless',
'sexy',
'smart',
'sticky',
'strategic',
'sustainable',
'synergistic',
'transparent',
'turn-key',
Expand All @@ -61,7 +62,5 @@ export default [
'viral',
'virtual',
'visionary',
'web-enabled',
'wireless',
'world-class',
];
9 changes: 3 additions & 6 deletions src/locales/en/company/buzz_noun.ts
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
export default [
'AI',
'ROI',
'action-items',
'applications',
'architectures',
'bandwidth',
'blockchains',
'channels',
'communities',
'content',
'convergence',
'deliverables',
'e-business',
'e-commerce',
'e-markets',
'experiences',
'eyeballs',
'functionalities',
'infrastructures',
'initiatives',
'interfaces',
'large language models',
'lifetime value',
'markets',
'methodologies',
Expand All @@ -30,9 +27,9 @@ export default [
'paradigms',
'partnerships',
'platforms',
'portals',
'relationships',
'schemas',
'smart contracts',
'solutions',
'supply-chains',
'synergies',
Expand Down
10 changes: 3 additions & 7 deletions src/locales/en/company/buzz_verb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@ export default [
'architect',
'benchmark',
'brand',
'collaborate',
'cultivate',
'deliver',
'deploy',
'disintermediate',
'drive',
'e-enable',
'embrace',
'empower',
'enable',
'engage',
'engineer',
'enhance',
'envisioneer',
'evolve',
'expedite',
'exploit',
'extend',
'facilitate',
'gamify',
'generate',
'grow',
'harness',
Expand All @@ -31,26 +31,22 @@ export default [
'integrate',
'iterate',
'leverage',
'matrix',
'maximize',
'mesh',
'monetize',
'morph',
'optimize',
'orchestrate',
'productize',
'recontextualize',
'redefine',
'reintermediate',
'reinvent',
'repurpose',
'revolutionize',
'scale',
'seize',
'simplify',
'strategize',
'streamline',
'syndicate',
'synergize',
'synthesize',
'target',
'transform',
Expand Down
Loading

0 comments on commit 6ab0f16

Please sign in to comment.