* Use @babel/eslint-parser for tests * Update rules/tests * Update docs * add @babel/eslint-shared-fixtures to package.json * remove bug fix * convert RuleTester to ESM * Update devDep versions
23 lines
622 B
JavaScript
23 lines
622 B
JavaScript
import newCap from "./rules/new-cap";
|
|
import noInvalidThis from "./rules/no-invalid-this";
|
|
import noUnusedExpressions from "./rules/no-unused-expressions";
|
|
import objectCurlySpacing from "./rules/object-curly-spacing";
|
|
import semi from "./rules/semi";
|
|
|
|
module.exports = {
|
|
rules: {
|
|
"new-cap": newCap,
|
|
"no-invalid-this": noInvalidThis,
|
|
"no-unused-expressions": noUnusedExpressions,
|
|
"object-curly-spacing": objectCurlySpacing,
|
|
semi,
|
|
},
|
|
rulesConfig: {
|
|
"new-cap": "off",
|
|
"no-invalid-this": "off",
|
|
"no-unused-expressions": "off",
|
|
"object-curly-spacing": "off",
|
|
semi: "off",
|
|
},
|
|
};
|