Skip to content

Commit

Permalink
fix: remove duplicated configs from .eslintrc.js file
Browse files Browse the repository at this point in the history
  • Loading branch information
MitanOmar committed Sep 5, 2023
1 parent 9ce6842 commit bfaccae
Showing 1 changed file with 0 additions and 47 deletions.
47 changes: 0 additions & 47 deletions ember/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,51 +2,4 @@

module.exports = {
extends: "@adfinis/eslint-config/ember-app",
root: true,
parser: "@babel/eslint-parser",
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
requireConfigFile: false,
babelOptions: {
plugins: [
["@babel/plugin-proposal-decorators", { decoratorsBeforeExport: true }],
],
},
},
plugins: ["ember"],
env: {
browser: true,
},
rules: {},
overrides: [
// node files
{
files: [
"./.prettierrc.js",
"./.eslintrc.js",
"./.stylelintrc.js",
"./.template-lintrc.js",
"./ember-cli-build.js",
"./testem.js",
"./blueprints/*/index.js",
"./config/**/*.js",
"./lib/*/index.js",
"./server/**/*.js",
],
parserOptions: {
sourceType: "script",
},
env: {
browser: false,
node: true,
},
extends: ["plugin:n/recommended"],
},
{
// test files
files: ["tests/**/*-test.{js,ts}"],
extends: ["plugin:qunit/recommended"],
},
],
};

0 comments on commit bfaccae

Please sign in to comment.