@lambdaschool/eslint-config
Advanced tools
Comparing version 1.0.0 to 1.1.0
{ | ||
"name": "@lambdaschool/eslint-config", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Eslint configuration options to be shared across internal projects", | ||
@@ -8,2 +8,4 @@ "main": ".eslintrc.js", | ||
"lint": "eslint test --fix", | ||
"prepublish": "npm test", | ||
"preversion": "npm test", | ||
"test": "eslint test" | ||
@@ -10,0 +12,0 @@ }, |
@@ -8,3 +8,4 @@ # eslint | ||
npm i -D eslint @lambdaschool/eslint-config | ||
echo 'module.exports = { extends: "@lambdaschool" }' > .eslintrc.js | ||
echo 'module.exports = { extends: "@lambdaschool" };' > .eslintrc.js | ||
echo "module.exports = require('@lambdaschool/eslint-config/.prettierrc.js')'" > .prettierrc.js | ||
``` | ||
@@ -19,2 +20,9 @@ | ||
There are test files that various linting rules can be tried out on. When adding rules, add to these files or create new ones to verify that the linting behavior is as desired. | ||
There are test files that various linting rules can be tried out on. When adding rules, add to these files or create new ones to verify that the linting behavior is as desired. | ||
When ready to publish, follow these steps: | ||
1. Verify that all changes have been committed. | ||
1. Version the project using `npm version <semver>` where `<semver>` is `major`, `minor`, or `patch`. For example: `npm version patch`. | ||
1. `git push` | ||
1. Publish the project using `npm publish`. |
@@ -1,6 +0,6 @@ | ||
describe("someModule", () => { | ||
describe("#someMethod", () => { | ||
it("should prefer arrow functions", async () => {}); | ||
it("should prefer arrow functions", () => {}); | ||
describe('someModule', () => { | ||
describe('#someMethod', () => { | ||
it('should prefer arrow functions', async () => {}); | ||
it('should prefer arrow functions', () => {}); | ||
}); | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3647
6
50
26