Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

Commit 98e97c6

Browse files
author
M-ZubairAhmed
committed
git ignored lock file
1 parent 1e28c4f commit 98e97c6

File tree

3 files changed

+18
-23
lines changed

3 files changed

+18
-23
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,7 @@ $RECYCLE.BIN/
116116

117117
# Others
118118
data/
119-
.next/
119+
.next/
120+
121+
# generate lock files
122+
package-lock.json

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"main": "index.js",
66
"scripts": {
77
"test": "xo",
8-
"lint": "prettier 'utils/**/*.js' 'components/**/*.js' 'pages/**/*.js' 'lib/**/*.js' 'hocs/**/*.js' '*.js' --write --single-quote --print-width='80' --trailing-comma='all' && xo --fix",
8+
"lint":
9+
"prettier 'utils/**/*.js' 'components/**/*.js' 'pages/**/*.js' 'lib/**/*.js' 'hocs/**/*.js' '*.js' --write --single-quote --print-width='80' --trailing-comma='all' && xo --fix",
910
"precommit": "lint-staged",
1011
"analyze": "cross-env ANALYZE=1 next build",
1112
"dev": "cross-env NODE_ENV=development nodemon server.js -w server.js",
@@ -16,24 +17,15 @@
1617
},
1718
"xo": {
1819
"parser": "babel-eslint",
19-
"extends": [
20-
"prettier",
21-
"prettier/react",
22-
"plugin:react/recommended"
23-
],
24-
"env": [
25-
"browser",
26-
"node"
27-
],
20+
"extends": ["prettier", "prettier/react", "plugin:react/recommended"],
21+
"env": ["browser", "node"],
2822
"rules": {
2923
"linebreak-style": 0,
3024
"react/display-name": 0,
3125
"react/prop-types": 0
3226
},
3327
"space:": 2,
34-
"ignores": [
35-
"next.config.js"
36-
]
28+
"ignores": ["next.config.js"]
3729
},
3830
"lint-staged": {
3931
"*.js": [

0 commit comments

Comments
 (0)