Comments (6)
@fxfactorial This post inspired me to make something:
https://www.npmjs.com/package/standardx
With this (instead of using semistandard) you should be able to tweak the ruleset via .eslintrc
or via eslintConfig
attribute in package.json.
Just do this for semicolons and snake_case:
In package.json:
"eslintConfig": {
"rules": {
"camelcase": 0,
"semi": [2, "always"],
"no-extra-semi": 2
}
}
OR
via .eslintrc
{
"rules": {
"camelcase": 0,
"semi": [2, "always"],
"no-extra-semi": 2
}
}
from semistandard.
If its any help, its possible to disable rules per file by putting this comment at the top of the file:
/* eslint-disable camelcase */
var hello_word = true
// no errors
from semistandard.
@Flet ya, it is help. I found that as well, but slight hassle now for new project, but I will do so. worth it, thank you for helping me.
from semistandard.
semistandard
does not take into account .eslintrc
or .eslintrc,.json
. In order to do this, try executing eslint
directly instead.
from semistandard.
@Flet Well I would rather not deal with eslint directly at all, the myriad config confuses me. Okay, I guess I will have to write some code to just filter these camel_case rules.
from semistandard.
@Flet Oh dope, just perfect. Thank you!
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.