-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from nlxai/standard-linting-and-prettifying
- Loading branch information
Showing
78 changed files
with
802 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,10 +8,13 @@ | |
], | ||
"scripts": { | ||
"build": "lerna run build", | ||
"lint:check": "lerna run lint:check", | ||
"lint": "lerna run lint", | ||
"postinstall": "npm run build", | ||
"publish": "rm -f package-lock.json && rm -f packages/*/package-lock.json && lerna publish --no-private", | ||
"publish-docs": "lerna run publish-docs", | ||
"test": "lerna run test", | ||
"tsc": "lerna run tsc", | ||
"watch": "lerna watch -- lerna run build --since" | ||
}, | ||
"author": "Peter Szerzo <[email protected]>", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/** @type {import('eslint').Linter.Config } */ | ||
module.exports = { | ||
root: true, | ||
extends: ["nlx"], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,10 @@ | |
"types": "lib/index.d.ts", | ||
"scripts": { | ||
"build": "rm -rf lib && rollup -c", | ||
"prepublish": "npm run build" | ||
"lint:check": "npx eslint src/ --ext .ts,.tsx,.js,.jsx", | ||
"lint": "npx eslint src/ --ext .ts,.tsx,.js,.jsx --fix", | ||
"prepublish": "npm run build", | ||
"tsc": "tsc" | ||
}, | ||
"author": "Peter Szerzo <[email protected]>", | ||
"license": "MIT", | ||
|
@@ -25,6 +28,7 @@ | |
"@types/node": "^11.15.11", | ||
"@types/ramda": "0.29.1", | ||
"@types/uuid": "^9.0.7", | ||
"eslint-config-nlx": "*", | ||
"prettier": "^3.1.0", | ||
"rollup": "^4.9.3", | ||
"rollup-plugin-node-polyfills": "^0.2.1", | ||
|
Oops, something went wrong.