Skip to content

Commit c2d65e8

Browse files
committed
chore: lint
1 parent 1b028d9 commit c2d65e8

6 files changed

Lines changed: 27 additions & 21 deletions

File tree

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
uses: EndBug/add-and-commit@v9
3333
continue-on-error: true
3434
with:
35-
message: "chore: ${{ env.NAME }}: actions: lint ☘️ "
35+
message: "chore: ${{ env.NAME }}: actions: lint ☘️"
3636
- name: Coverage
3737
run: redrun coverage report
3838
- name: Coveralls

.gitignore

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1+
*.swp
2+
*.log
3+
*.lock
4+
5+
.nyc_output
6+
.idea
7+
18
package-lock.json
2-
node_modules
39
npm-debug.log*
10+
11+
node_modules
412
legacy
5-
.nyc_output
6-
*.swp
7-
yarn-error.log
813
dist
9-
10-
.idea
1114
coverage

.npmignore

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1-
webpack.config.js
2-
example
3-
screen
4-
.*
5-
yarn-error.log
6-
71
*.spec.js
8-
.spec
92
*.sketch
3+
*.config.*
4+
*.log
5+
*.loc
6+
7+
.*
8+
.spec
9+
10+
webpack.config.js
1011
madrun.js
1112

13+
example
14+
screen
1215
coverage
13-
*.config.*

lib/get-class-name.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ test('get-class-name: isTitle', (t) => {
3737
test('get-class-name: autoSize, isTitle', (t) => {
3838
const autoSize = true;
3939
const isTitle = true;
40+
4041
const result = getClassName({
4142
autoSize,
4243
isTitle,

lib/modal.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
import store from 'fullstore';
1+
import '../css/modal.css';
2+
import {fullstore} from 'fullstore';
23
import currify from 'currify';
34
import createElement from '@cloudcmd/create-element';
4-
import '../css/modal.css';
55
import _parseImages from './parse-images.js';
66
import _showTitle from './show-title.js';
77
import _query from './query.js';
88
import getClassName from './get-class-name.js';
99

1010
const noop = () => {};
1111

12-
const optionsStore = store({});
12+
const optionsStore = fullstore({});
1313

1414
const innerHTML = `
1515
<div class="modal-child" data-name="modal-child">

lib/parse-images.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import wraptile from 'wraptile';
2-
import store from 'fullstore';
2+
import {fullstore} from 'fullstore';
33
import _createElement from '@cloudcmd/create-element';
44
import _showTitle from './show-title.js';
55
import _query from './query.js';
66

7-
const indexStore = store();
8-
const helpersStore = store();
7+
const indexStore = fullstore();
8+
const helpersStore = fullstore();
99

1010
const next = wraptile((img, images) => setImage(indexStore() + 1, img, images));
1111
const prev = wraptile((img, images) => setImage(indexStore() - 1, img, images));

0 commit comments

Comments
 (0)