Commit graph

  • c71bb4fbd5 Update MD041/first-line-h1 to allow secondary headings if a YAML title is present (refs #116). David Anson 2019-03-10 22:10:33 -07:00
  • ed295cd947 Add style "zero" to MD029/ol-prefix (fixes #140). David Anson 2019-03-06 21:57:19 -08:00
  • 2ccacf03f5 MD037 should try to ignore escaped emphasis markers (fixes #168). David Anson 2019-03-04 19:54:23 -08:00
  • dd3bd3d7ee Update MD037 to handle violations at the start/end of a line. David Anson 2019-03-04 19:24:57 -08:00
  • 4d436be500 Add other example repositories for custom rules. David Anson 2019-03-03 21:35:20 -08:00
  • 3e753636cf Handle case where token map extends beyond last line of input (fixes #166). David Anson 2019-02-13 19:52:34 -08:00
  • 90bd0810e7 Update copyright year to 2019, all HTTP links to HTTPS. David Anson 2019-02-10 11:38:01 -08:00
  • 045238740f Update to version 0.12.0. v0.12.0 David Anson 2019-02-03 21:40:05 -08:00
  • 1ada55fd60 Modify build-demo to work with updated dependencies and recent changes. David Anson 2019-01-31 22:33:48 -08:00
  • 550ef6a53d Update dependencies: @types/node to 10.12.21, browserify to 16.2.3, eslint to 5.12.1, glob to 7.1.3, js-yaml to 3.12.1, rimraf to 2.6.3, toml to 3.0.0, typescript to 3.3.1, uglify-js to 3.4.9. David Anson 2019-01-31 21:52:47 -08:00
  • ff50da3b42 Re-implement MD038 to handle multi-line spans better and rely less on RegExp. David Anson 2019-01-30 22:09:20 -08:00
  • 3b49414183 Re-implement MD032 to detect missed scenarios and simplify. David Anson 2019-01-21 18:21:36 -08:00
  • 8a175955d7 Add options.markdownItPlugins to support using markdown-it plugins when parsing. David Anson 2019-01-19 12:52:13 -08:00
  • ff86e1d7f1 Add optional "information" property to custom rules to provide a link to more information. David Anson 2019-01-15 21:56:38 -08:00
  • b77dd5ccd3 Simplify handling of internal lineMetadata array (slightly faster now). David Anson 2019-01-12 16:29:10 -08:00
  • 51a57a07c8 Update test file with new cases from Ruby implementation. David Anson 2019-01-10 21:39:29 -08:00
  • 6c57203ae5 Use tokens (vs. RegExp) for identifying fenced code blocks (fixes #151, fixes #152, fixes #155). David Anson 2019-01-10 21:29:27 -08:00
  • 5be7104dab Fix formatting of fenced code blocks in test files. David Anson 2019-01-10 21:19:09 -08:00
  • 813abc4f27 MD023 should not report violations for proper blockquotes in lists (fixes #146). David Anson 2019-01-08 22:10:06 -08:00
  • 0bb38faa21 Handle files with front matter only and no trailing newline (fixes #157). David Anson 2019-01-06 22:20:59 -08:00
  • 7d6635b472 Fix possible null-dereference if RegExp does not match in MD038. David Anson 2019-01-06 22:07:10 -08:00
  • 4f4dee162c Add TypeScript-Handbook to Examples section. David Anson 2018-12-14 21:48:25 -08:00
  • 30633915d8 Add Windows/OS X, cache npm, remove sudo false. David Anson 2018-12-14 21:23:51 -08:00
  • 8455d96fba Replace sonarwhal with webhint Antón Molleda 2018-11-24 19:36:00 -08:00
  • fd8542b713 Replace sonarwhal with webhint Antón Molleda 2018-11-24 19:36:00 -08:00
  • e3aa3da305 feat: Add pre-commit hook erdtsksn 2018-11-14 22:56:06 +03:00
  • a4f541fdf4 Update to version 0.11.0. v0.11.0 David Anson 2018-07-21 21:47:19 -07:00
  • f0fce5b4b0 Update dependencies: markdown-it to 8.4.2, @types/node to 10.5.2, eslint to 5.2.0, js-yaml to 3.12.0, nodeunit to 0.11.3, typescript to 2.9.2, uglify-js to 3.4.5. David Anson 2018-07-21 21:41:24 -07:00
  • 23d5be6015 Add simple/concrete example of custom rule package for publishing (fixes #133). David Anson 2018-07-20 22:31:41 -07:00
  • 183d9c5cb1 Update test file with new cases from Ruby implementation. David Anson 2018-07-19 22:00:31 -07:00
  • d76ede1c4f Update MD024/no-duplicate-heading to allow non-sibling duplicates (fixes #136). David Anson 2018-07-19 21:49:30 -07:00
  • 4865301ce9 Handle multi-line inline code spans better (fixes #130). David Anson 2018-07-15 23:05:18 -07:00
  • 6afd61ed66 Remove project-relative links. David Anson 2018-06-24 20:10:50 -07:00
  • 7a467b1dba Fix project-relative links. David Anson 2018-06-24 20:08:53 -07:00
  • 07396ee456 Fix case of file extension of CONTRIBUTING.md. David Anson 2018-06-24 20:04:24 -07:00
  • 3fd3f27169 Add CONTRIBUTING.md (fixes #127). David Anson 2018-06-24 20:01:44 -07:00
  • cf0e991598
    Merge 56643d90db into 2710c375b3 Josh Goldberg 2018-06-22 16:30:55 +00:00
  • 56643d90db Added md046 sentences-per-line Josh Goldberg 2018-06-22 09:23:39 -07:00
  • 4a1e42d942 Allow '0'- and ' '-prefixed ordered list markers in MD005/MD029 (fixes #126). David Anson 2018-06-15 22:37:12 -07:00
  • 2710c375b3 Update to version 0.10.0. v0.10.0 David Anson 2018-05-27 21:25:40 -07:00
  • c31b31e5cf Update dependencies: cpy-cli to 2.0.0, uglify-js to 3.3.27. David Anson 2018-05-25 17:53:31 -07:00
  • c7f763a076 Enable ESLint rules prefer-rest-params, prefer-spread. David Anson 2018-05-25 17:40:36 -07:00
  • 5a73fbb100 Merge branch 'nschonni-patch-1' into next David Anson 2018-05-25 17:33:46 -07:00
  • e6305dc0b7 docs: Point to markdownlint-rules keyword on NPM Nick Schonning 2018-05-23 20:04:29 -04:00
  • 1c816897c1 Include file/string name in params object for custom rules (fixes #119). David Anson 2018-05-25 17:28:56 -07:00
  • 8c87a20677 Add motivation for tags to README.md (fixes #122). David Anson 2018-05-24 21:57:32 -07:00
  • 101edd8496 Add parsers parameter to readConfig/Sync to support non-JSON formats like YAML (fixes #118). David Anson 2018-05-23 22:24:40 -07:00
  • 3b00b4e16a
    Merge c5ad2c693d into 43a50c4cad Nick Schonning 2018-05-24 00:05:30 +00:00
  • c5ad2c693d
    docs: Point to markdownlint-rules keyword on NPM Nick Schonning 2018-05-23 20:04:29 -04:00
  • 2b4ecdced8 Update error message validation to handle CRLF and LF-only. David Anson 2018-05-20 21:43:55 -07:00
  • 11b19f141c Move all readConfig/Sync test files to test/config directory. David Anson 2018-05-20 21:37:05 -07:00
  • 43a50c4cad Update to version 0.9.0. v0.9.0 David Anson 2018-05-13 16:41:59 -07:00
  • 37e360eca1 Update dependencies: @types/node to 9.6.15, browserify to 16.2.2, eslint to 4.19.1, uglify-js to 3.3.25, remove incompatible @types/node. David Anson 2018-05-13 16:29:40 -07:00
  • 922bbefd55 Add tests for updated newline regular expression. David Anson 2018-04-30 21:43:34 -07:00
  • 3e1317709a Update MD009/no-trailing-spaces default configuration to allow 2 spaces for hard break (fixes #114). David Anson 2018-04-30 21:34:19 -07:00
  • 36dc946f46 Synchronize regular expression for line breaks with markdown-it (fixes #117). David Anson 2018-04-29 22:29:03 -07:00
  • 072da48add Relax MD041/first-line-h1 to allow blank links above the top level header (fixes #116). David Anson 2018-04-29 12:02:47 -07:00
  • 017fe127fa Fix issue where escaped trailing hash on header caused MD003 due to incorrect classification. David Anson 2018-04-28 14:49:31 -07:00
  • f77b7ae4ec Remove Q dependency, replace with native Promise/promisify. David Anson 2018-04-27 22:29:52 -07:00
  • 213aef4564 Convert var to const/let (except in browser-only code). David Anson 2018-04-27 22:05:34 -07:00
  • 78c1af7bfd Add TypeScript to demo build script to output ES3-level code for browsers (fixes #84). David Anson 2018-04-26 22:21:23 -07:00
  • 85e6e7a183 Convert devDependencies from ^ to ~. David Anson 2018-04-25 21:14:20 -07:00
  • 18125a1872 Add new Node.js version 10, remove end-of-life versions 0.10, 0.12, 4. David Anson 2018-04-25 21:10:19 -07:00
  • f4f4728e2c Merge branch 'levacic/header-to-heading' into next David Anson 2018-04-19 22:38:54 -07:00
  • c7c4c032d1 Code review feedback for "header"->"heading" change. David Anson 2018-04-18 22:25:45 -07:00
  • 45424cf459 Change "header" to "heading" across the library Milos Levacic 2018-03-19 23:39:42 +01:00
  • ef8287aec6
    Merge d249888ed2 into e938f421a9 Milos Levacic 2018-03-21 06:58:25 +00:00
  • e938f421a9 Update to version 0.8.1. v0.8.1 David Anson 2018-03-20 20:45:45 -07:00
  • 09251447d1 Update dependencies: eslint to 4.19.0, uglify-js to 3.3.16. David Anson 2018-03-19 21:26:51 -07:00
  • ff73e822cf Make item loop iterative (vs. recursive) to handle synchronous processing of thousands of items. David Anson 2018-03-19 21:21:22 -07:00
  • d249888ed2 Change "header" to "heading" across the library Milos Levacic 2018-03-19 23:39:42 +01:00
  • f80b61d8b7 Allow empty string for detail/context in onError callback from rules. David Anson 2018-03-17 22:11:01 -07:00
  • b3f0d76a67 Add a link to linter-node-markdownlint Guillaume ARM 2018-03-17 00:59:26 +01:00
  • e25f053839
    Add a link to linter-node-markdownlint Guillaume ARM 2018-03-17 00:59:26 +01:00
  • 5dcdb55952 Update to version 0.8.0. v0.8.0 David Anson 2018-03-10 21:46:52 -08:00
  • 621400447d Update dependencies: markdown-it to 8.4.1, @types/node to 9.4.7, browserify to 16.1.1, eslint to 4.18.2, uglify-js to 3.3.13. David Anson 2018-03-09 22:58:54 -08:00
  • c9571607dc Convert to code fences in Rules.md and tag all as "markdown". David Anson 2018-03-09 22:50:01 -08:00
  • 7310d01fea Add "engines" field to package.json. David Anson 2018-03-06 21:49:16 -08:00
  • 89e12b90e0 Support 1-3 spaces prefixing a code fence per specification (fixes #107). David Anson 2018-03-06 21:43:45 -08:00
  • 40ace5bb5e Fix MD007/ul-indent to use parent indent instead of previous indent (fixes #106). David Anson 2018-03-05 20:56:12 -08:00
  • 748c8cac17 Remove unnecessary params parameter to shared.flattenLists/forEachLine. David Anson 2018-03-04 23:06:31 -08:00
  • 942cc9af08 Use "markdown" for syntax highlighting on GitHub ("md" not recognized). David Anson 2018-03-03 22:22:02 -08:00
  • 08c8031736 Add documentation for authoring custom rules. David Anson 2018-03-03 22:15:49 -08:00
  • b33acb81d9 Remove params.tokenLists to simplify custom rule API. David Anson 2018-03-01 22:37:37 -08:00
  • 7a752784f1 Add validation of onError callback object for rules. David Anson 2018-02-27 21:14:02 -08:00
  • 802c81f929 Add support for authoring custom rules. David Anson 2018-02-25 16:04:13 -08:00
  • f24f98e146 Add support for using custom rules. David Anson 2018-02-15 21:35:58 -08:00
  • 4619a8c824 Refactor to run rule analysis when called, simplify functions. David Anson 2018-02-05 21:26:07 -08:00
  • fda309df2f Refactor to simplify and generalize rule name handling. David Anson 2018-02-04 20:27:20 -08:00
  • bc8776c582 Stop caching forEachLine/flattenLists results on params object. David Anson 2018-02-02 22:29:50 -08:00
  • 5adbf30628 Remove GitHub tag badge from README.md. David Anson 2018-01-31 21:35:33 -08:00
  • 056608a680 Improve code to determine unordered list style for MD004/ul-style (fixes #104). David Anson 2018-01-31 21:32:50 -08:00
  • c0ea22e55e Update to version 0.7.0. v0.7.0 David Anson 2018-01-22 20:54:26 -08:00
  • 6ca9340a30 Update dependencies: @types/node to 9.3.0, browserify to 15.2.0, eslint to 4.16.0, uglify-js to 3.3.8. David Anson 2018-01-22 20:29:06 -08:00
  • 9ba143555d Move each rule implementation into its own file (fixes #83). David Anson 2018-01-21 21:44:25 -08:00
  • 49e36f817c Remove abbreviations from rule metadata to clarify API. David Anson 2018-01-18 21:34:30 -08:00
  • 513a1351a5 Move code shared by rules into shared.js. David Anson 2018-01-18 21:27:07 -08:00
  • f79cdcb0d4 Rename rule params.options to .config for API consistency. David Anson 2018-01-17 20:52:54 -08:00
  • a0e3b4db90 Remove regexp from rule definition to simplify API. David Anson 2018-01-16 21:27:38 -08:00
  • d47091078e Add links to Mocha project to Examples section of README. David Anson 2018-01-14 21:59:23 -08:00