Klaus Hott Vidal and fisker
16449ce914
renaming jsfmt.spec.js to format.test.js ( #16244 )
...
Co-authored-by: fisker <lionkay@gmail.com >
2024-05-06 10:25:10 +08:00
fisker Cheung
d3dca92292
Switch to the new ESLint config ( #15869 )
2024-01-08 14:48:45 +08:00
fisker Cheung
76d0890142
Refactor/Fix release script ( #13619 )
2022-10-14 17:17:47 +08:00
fisker Cheung
8564a215a6
Ignore dist* dirs
2022-09-22 17:12:02 +08:00
Sosuke Suzuki
e92dcbd1a5
Add new ESLint prefer-ast-path-node ( #13470 )
...
* Add new lint rule `prefer-path-get-value`
* Add new rule
* Apply fix
* Ingore projects in benchmark
* Add comment
2022-09-11 18:39:06 +09:00
fisker Cheung
637c00618c
Use published jest-light-runner ( #12592 )
2022-04-05 10:42:21 +08:00
fisker Cheung
a21dfbfa21
Merge branch 'main' into next-rebase
...
# Conflicts:
# .eslintrc.cjs
# package.json
# scripts/build/bundler.mjs
# scripts/build/config.mjs
# scripts/build/esbuild-plugins/replace-module.mjs
# src/cli/file-info.js
# src/cli/find-config-path.js
# src/cli/index.js
2022-03-24 15:02:29 +08:00
fisker Cheung
4250812682
Remove require from UMD bundles ( #12485 )
2022-03-23 10:21:02 +08:00
fisker Cheung
a67a5c2f94
Remove vendors/ ( #12377 )
2022-02-28 19:48:14 +08:00
fisker Cheung
f0b63f3dff
Merge branch 'main' into next
...
# Conflicts:
# CONTRIBUTING.md
# cspell.json
# docs/options.md
# package.json
# scripts/build/bundler.mjs
# src/language-css/loc.js
# src/language-css/parser-postcss.js
# src/language-css/utils/index.js
# tests/format/js/arrows-bind/jsfmt.spec.js
# tests/format/js/async-do-expressions/jsfmt.spec.js
# tests/format/js/bind-expressions/jsfmt.spec.js
# tests/format/js/classes/top-level-super/jsfmt.spec.js
# tests/format/js/comments-pipeline-own-line/jsfmt.spec.js
# tests/format/js/decorator-comments/jsfmt.spec.js
# tests/format/js/decorators-export/jsfmt.spec.js
# tests/format/js/decorators/jsfmt.spec.js
# tests/format/js/do/jsfmt.spec.js
# tests/format/js/export-default/escaped/jsfmt.spec.js
# tests/format/js/export-extension/jsfmt.spec.js
# tests/format/js/export-star/jsfmt.spec.js
# tests/format/js/exports/jsfmt.spec.js
# tests/format/js/invalid-code/jsfmt.spec.js
# tests/format/js/logical-assignment/jsfmt.spec.js
# tests/format/js/multiparser-invalid/jsfmt.spec.js
# tests/format/js/no-semi-babylon-extensions/jsfmt.spec.js
# tests/format/js/object-property-comment/jsfmt.spec.js
# tests/format/js/partial-application/jsfmt.spec.js
# tests/format/js/pipeline-operator/jsfmt.spec.js
# tests/format/js/private-in/jsfmt.spec.js
# tests/format/js/record/jsfmt.spec.js
# tests/format/js/reserved-word/jsfmt.spec.js
# tests/format/js/strings/jsfmt.spec.js
# tests/format/js/throw_expressions/jsfmt.spec.js
# tests/format/js/trailing-whitespace/jsfmt.spec.js
# tests/format/js/v8_intrinsic/jsfmt.spec.js
# tests/format/misc/errors/js/literal/jsfmt.spec.js
# tests/format/misc/errors/js/object/jsfmt.spec.js
# tests/format/misc/errors/js/variable-declarator/jsfmt.spec.js
# tests/integration/__tests__/bundle.js
# tsconfig.json
# yarn.lock
2022-02-09 09:22:32 +08:00
Sosuke Suzuki
0abd1907bb
Bundle Pure ESM Packages into /vendors/*.js as CommonJS ( #12217 )
...
* string-width
* Add bundle script
* Update package.json
* mem
* Add version validator
* Throw error
* Change filename
* Add documents
* Generate d.ts
* Fix lint problems
* globby
* Add workflow to validate vendor versions
* Fix eslintignore
* Fix
* Fix spell
* Address review
* process.exitCode = 1
* test validation
* Revert "test validation"
This reverts commit 5a86d5f71212e0e900709238a8cc109716678864.
* Remove exists files
* Fix conflicts
* Clean
* Remove globby
2022-02-06 17:31:50 +09:00
fisker Cheung and Sosuke Suzuki
6bd81c23b6
Migrate format test to ES Module ( #11902 )
...
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com >
2022-01-04 17:00:25 +08:00
fisker Cheung
572e0ed90d
Fix .eslintignore ( #10875 )
2021-05-13 17:28:39 +08:00
fisker Cheung
ece93681f1
Restructure test files ( #10415 )
2021-04-25 20:01:56 +08:00
fisker Cheung
ab1ea713d6
Missing files on lint ( #8127 )
2020-04-23 19:33:40 +08:00
Georgii Dolzhykov
299f2cad58
chore: ignore test*.js in eslint and ts configs
2020-04-20 20:06:37 +03:00
Lucas Duailibe
54b1f8562d
Introduce Release script ( #4631 )
2018-06-05 16:37:52 -03:00
Lucas Duailibe
52a2a46b3c
New build system ( #4449 )
2018-05-24 15:30:45 -03:00
Alexander Kachkaev
218abba141
Add /coverage/ to .eslintignore ( #4436 )
2018-05-07 14:07:48 -03:00
Lucas Duailibe
1f320a6031
range support
2018-04-20 11:30:47 -03:00
Lucas Duailibe
a3be9f5505
fix lint
2018-04-11 14:26:48 -03:00
ikatyang
3cc9083f1d
chore(eslint): ignore /tests_integration/cli/
2017-09-03 21:50:19 +08:00
Frank Li
80f38ce75b
Website ( #2241 )
...
* initial docusaurus set-up
* Delete why-prettier.md
* Update README.md
* Update Docusaurus structure
* Update package.json
* Update siteConfig.js
* Remove ~ files
* chore(website): update build script
* Add redirect script
* Get eslint working on website
* Fix to allow for baseUrl of '/'
* Update docusaurus version
* Update README.md
* Change redirect script to use baseUrl of '/'
* Fix index.js formatting
* Load redirect script
* General cleanup
* Add projects using prettier
* Update service worker to just scope to playground
* Reduce link repeatition
* Link "Try it out" button to /playground/
* Make header of playground approximately same as main site
* Remove .html from URLs (e.g. users.html -> users/)
* Link Gitter Chat
* Add circleci.yml
* Only run builds on master
* Do deployment using Travis
2017-07-02 10:14:24 +10:00
Simon Lydell
ba51d2dfa8
Enable linting of build scripts
2017-06-28 21:37:33 +02:00
Lucas Azzola
40c41f232f
Website: usability improvements ( #2118 )
...
* feat(website): use worker thread for formatting
* Create index.html
Remove step=5
2017-06-13 09:20:13 -07:00
Christopher Chedeau
05b921efdd
Build the dist/ with rollup ( #1794 )
2017-05-28 21:49:41 -07:00
Christopher Chedeau
47d9686402
Do not indent for switch case with ; ( #1687 )
...
The indentation detection didn't discard empty statements
2017-05-23 13:58:43 -07:00
Simon Lydell
378682350f
Improve ESLint setup and fix errors ( #1656 )
...
* Improve ESLint setup
- Uses `eslint:recommended` + a handful more rules.
- Uses .eslintignore so that editors can understand which files to lint.
- Uses .eslintrc<strong>.js</strong> so more editors get syntax highlighting.
* Fix ESLint errors
About half of them were fixed by `eslint . --fix`.
2017-05-21 12:11:09 -07:00