textlint-rule / textlint-rule-eslint Goto Github PK
View Code? Open in Web Editor NEWtextlint rule integrate with ESLint.
License: MIT License
textlint rule integrate with ESLint.
License: MIT License
I’m trying to automate code formatting using textlint-rule-eslint and eslint-plugin-prettier and it keeps adding new lines after each example.
Would it make sense if textlint-rule-eslint strips new lines at the end or preserve the original number of new lines at the end? Prettier doesn’t have any setting for that (most likely it won’t) and ESLint eol-last rule doesn’t work too because Prettier overwrites it.
ESLint v8.57.0 support loadESLint()
.
https://eslint.org/docs/latest/integrate/nodejs-api#loadeslint
It is compatible layer for 8.x and 9.x+
"eslint": "^3.0.0"
should be "eslint": "^3.0.0 || ^4.0.0"
?
Migrating to v8.0.0 - ESLint - Pluggable JavaScript linter
ESLint has breaking changes. We need to rewrite some code.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These problems occurred while renovating this repository. View logs.
These updates await pending status checks. To force their creation now, click the checkbox below.
@types/eslint
, @types/node
, npm
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
.github/workflows/test.yml
actions/checkout v4@8ade135a41bc03ea155e62e844d188df1ea18608
actions/setup-node v4
package.json
@textlint/types ^14.2.0
structured-source ^4.0.0
@types/eslint ^8.56.11
@types/node ^18.19.44
textlint-plugin-asciidoctor ^1.1.0
textlint-scripts ^14.2.0
textlint-tester ^14.2.0
ts-node ^10.9.2
npm 10.8.2+sha512.c7f0088c520a46596b85c6f8f1da943400199748a0f7ea8cb8df75469668dc26f6fb3ba26df87e2884a5ebe91557292d0f3db7d0929cdb4f14910c3032ac81fb
Move ESLint from dependencies
to peerDependencies
.
It is a breaking change.
We want to support <!-- eslint-disable no-alert -->
for compatibility eslint/eslint-plugin-markdown
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.