Comments (3)
I'm not sure of a way to do this unfortunately :(
Two space indentation is a rule inherited from standard
, so it's very unlikely to be changed.
However! It's possible to create your own linting CLI tool that is customized to your team's preferences using standard-engine. It is all of the guts of standard
without the config.
First, create an eslint sharable config. It may be easiest ot just clone to eslint-config-semistandard or eslint-config-standard (or one of the many others that exist).
Next, create the CLI package itself The standard-engine
README does a pretty good job of explaining, but again it may be easiest just to clone semistandard
and change the eslint config.
Publish the CLI package to npm and you're in business!
...All that being said, I'm going to close this issue for now. If you end up creating a new CLI too, send a pull request to standard-engine
and we will add it to the README! 👍
from semistandard.
@Flet Got it, thanks for the explanation! 👍
from semistandard.
Stumbled on this while looking at happiness
which is like this and standard but with tabs, which are configurable like the coding gods intended :)
from semistandard.
Related Issues (20)
- Cannot use semistandard because of missing dependencies HOT 4
- development halted? HOT 3
- Semistandard 12.0.0 globals exclude doesn't work HOT 5
- Expected to call super on super.apply HOT 1
- Cannot read property 'ecmaFeatures' of undefined HOT 1
- Parsing error: Cannot find module '@babel/types' HOT 2
- RegExp invalid group error on named group HOT 2
- Travis CI failing with Node 6 and v13.0 HOT 6
- WebStorm (and JetBrains IDEs) HOT 1
- Add me as a collaborator? HOT 6
- Cannot find module '@typescript-eslint/parser' HOT 5
- Is this repository still maintained? HOT 1
- Badge link doesn't work HOT 1
- Semistandard broken on OS X starting in 14.2.1 HOT 4
- Exclude history from published package HOT 2
- Update standard to version 16.0.3 that disables the rule `Enforce default parameters to be last (default-param-last)` HOT 3
- Replace Travis CI with GitHub Actions HOT 1
- Usage of ESM imports instead of CommonJS
- Move semsistandard to standard HOT 2
- Parsing error for static class variables HOT 1
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 semistandard.