Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
NetanelBasal committed Sep 3, 2021
1 parent 176ef74 commit 8c09c75
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 13 deletions.
4 changes: 1 addition & 3 deletions apps/ng-e2e/src/plugins/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
// This function is called when a project is opened or re-opened (e.g. due to
// the project's config changing)

const { preprocessTypescript } = require('@nrwl/cypress/plugins/preprocessor');

module.exports = (on, config) => {
module.exports = () => {
// `on` is used to hook into various events Cypress emits
// `config` is the resolved Cypress config
// Preprocess Typescript file using Nx helper
Expand Down
8 changes: 4 additions & 4 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');

/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: 'Elf | A tiny store with magical powers',
tagline: 'A tiny store with magical powers',
title: 'Elf | A tiny reactive store with magical powers',
tagline: 'A Tiny Reactive Store with Magical Powers',
url: 'https://your-docusaurus-test-site.com',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
organizationName: 'ngneat', // Usually your GitHub org/user name.
projectName: 'elf', // Usually your repo name.
organizationName: 'ngneat',
projectName: 'elf',
themeConfig: {
navbar: {
title: 'Elf',
Expand Down
6 changes: 3 additions & 3 deletions docs/src/components/HomepageFeatures.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ const FeatureList: FeatureItem[] = [
),
},
{
title: 'Tree Shakeable',
title: 'Tree Shakeable & Fully Typed',
image: '/img/entities.png',
description: <>Anything you don't use won't become part of your bundle</>,
},
{
title: 'Fully Typed',
title: 'CLI',
image: '/img/entities.png',
description: <>All methods are strongly typed for ease of use</>,
description: <>A powerful CLI to </>,
},
{
title: 'First Class Entities Support',
Expand Down
6 changes: 4 additions & 2 deletions docs/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ function HomepageHeader() {
<h1 className="hero__title">
<img src="img/elf.png" alt="elf" width={200} />
</h1>
<p className="hero__subtitle">{siteConfig.tagline}</p>
<p className="hero__subtitle">
A Tiny <b><em>Reactive</em></b> Store with Magical Powers
</p>
<div className={styles.buttons}>
<Link
className="button button--secondary button--lg"
Expand All @@ -33,7 +35,7 @@ export default function Home(): JSX.Element {
return (
<Layout
title={`${siteConfig.title}`}
description="Elf - A tiny store with magical powers"
description="Elf - A Tiny Reactive Store with Magical Powers"
>
<HomepageHeader />
<main>
Expand Down
1 change: 1 addition & 0 deletions packages/store/src/lib/core/props-factory.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ describe('stateArrayFactory', () => {

const store = new Store({ state, config, name: '' });

// eslint-disable-next-line @typescript-eslint/no-unused-vars
store.pipe(selectActiveIds()).subscribe((v) => {
//
});
Expand Down
2 changes: 1 addition & 1 deletion packages/store/src/lib/core/registry.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createEntitiesStore } from '@ngneat/elf-mocks';
import { createEntitiesStore } from '../mocks/stores.mock';
import { getStoresSnapshot } from './registry';

describe('registry', () => {
Expand Down

0 comments on commit 8c09c75

Please sign in to comment.