mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-27 04:28:12 +08:00
* Disabled @blueprintjs/classes-constants. #2288. * thuang-eslint-bp-off (#2344) * Disabled @blueprintjs/classes-constants on webpack dev and shared. #2288. * Added TS recommended, suppress lint errors codemod. * Added per-error/warning ignore for tests. * Added per-error/warning ignore for configuration. * Added per-error/warning ignore for src. Removed suppress package. * Minor linting. Co-authored-by: Timmy Huang <tihuan@users.noreply.github.com>
27 lines
787 B
JavaScript
27 lines
787 B
JavaScript
module.exports = {
|
|
babelrc: false,
|
|
presets: [
|
|
[
|
|
"@babel/preset-env",
|
|
{
|
|
useBuiltIns: "entry",
|
|
corejs: 3,
|
|
modules: false,
|
|
},
|
|
],
|
|
"@babel/preset-react",
|
|
// eslint-disable-next-line prettier/prettier --- FIXME: disabled temporarily on migrate to TS.
|
|
"@babel/preset-typescript"
|
|
],
|
|
plugins: [
|
|
"@babel/plugin-proposal-function-bind",
|
|
["@babel/plugin-proposal-decorators", { legacy: true }],
|
|
["@babel/plugin-proposal-class-properties", { loose: true }],
|
|
"@babel/plugin-proposal-export-namespace-from",
|
|
"@babel/plugin-transform-react-constant-elements",
|
|
"@babel/plugin-transform-runtime",
|
|
"@babel/plugin-proposal-optional-chaining",
|
|
"@babel/plugin-proposal-nullish-coalescing-operator",
|
|
],
|
|
};
|