Comments (1)
Cool 👍
Don't forget about standard --fix
which came in the latest version of standard
.
For fun I ran it locally. It will automatically fix about 22% of the lint errors for this repo. Here is a list of the things that were not automatically fixed:
~/code/workshopper-adventure master
🕐 ❯ standard --fix | standard-summary
standard: Use JavaScript Standard Style (http://standardjs.com)
standard: Run `standard --fix` to automatically fix some problems.
100 Unexpected tab character
96 Expected { after 'if' condition
72 ',' should be placed last
71 Mixed spaces and tabs
48 Expected indentation of 2 space characters but found 0
13 Split initialized 'var' declarations into multiple statements
12 Split initialized 'const' declarations into multiple statements
11 Expected indentation of 4 space characters but found 2
6 Unnecessary escape character
6 Identifier 'fn_or_object' is not in camel case
6 Identifier 'name_or_object' is not in camel case
6 '||' should be placed at the end of the line
5 'exercise' is not defined
5 Expected indentation of 10 space characters but found 8
3 'fs' is defined but never used
3 'path' is defined but never used
3 'menuOptions' is not defined
3 Expected '===' and instead saw '=='
3 Expected { after 'else'
2 Expected '!==' and instead saw '!='
2 The function binding is unnecessary
2 '&&' should be placed at the end of the line
2 '+' should be placed at the end of the line
2 A constructor name should not start with a lowercase letter
1 'parent' is defined but never used
1 Parsing error
1 'error' is not defined
1 'i18nObject' is defined but never used
1 'option' is not defined
1 'print' is defined but never used
1 'completed' is defined but never used
1 '_exercises' is defined but never used
1 'update' is defined but never used
1 Unnecessary use of boolean literals in conditional expression
1 'dir' is defined but never used
1 Gratuitous parentheses around expression
1 Expected consistent spacing
1 Expected indentation of 8 space characters but found 7
1 'result' is already defined
1 Expected indentation of 4 space characters but found 0
from workshopper-adventure.
Related Issues (20)
- Translation to Turkish language. HOT 1
- i18n typo in es.json HOT 1
- missing example code
- Add --no-tty modifier to test the --no-tty mode better
- Strip the colors from the menu
- Persist `--no-color` and `--no-tty`
- Windows 10 "check for update" throws errors HOT 4
- Node 6.x crops some output HOT 1
- Best practices for writing a workshopper adventure
- Semver major? HOT 3
- Use system locale by default for i18n HOT 1
- verify parameter is ignored HOT 1
- `run` without a file returns a weird error message
- How do I add simple function testing logic to exercise? HOT 2
- [Issue with README] Broken link HOT 3
- `.emit('fail'` seems to be ignored
- Deprecation Warning with Node.js 7.5.0 HOT 3
- Support es6 HOT 4
- msee broken dependency HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from workshopper-adventure.