Skip to content

Commit

Permalink
suggestions (#2961)
Browse files Browse the repository at this point in the history
* suggestions

* unneccessary
  • Loading branch information
kellymears authored Jan 26, 2022
1 parent 59e76ee commit 405fb7b
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 115 deletions.
50 changes: 1 addition & 49 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,52 +1,4 @@
module.exports = {
root: true,
extends: ['eslint:recommended', 'plugin:react/recommended'],
globals: {
wp: true,
},
env: {
node: true,
es6: true,
amd: true,
browser: true,
jquery: true,
},
parser: '@babel/eslint-parser',
parserOptions: {
ecmaFeatures: {
experimentalObjectRestSpread: true,
globalReturn: true,
generators: false,
impliedStrict: true,
objectLiteralDuplicateProperties: false,
jsx: true,
},
ecmaVersion: 2017,
requireConfigFile: false,
sourceType: 'module',
},
plugins: ['import', 'react-hooks'],
settings: {
react: {
version: 'detect',
},
'import/core-modules': [],
'import/ignore': [
'node_modules',
'\\.(coffee|scss|css|less|hbs|svg|json)$',
],
},
rules: {
'no-console': 0,
'comma-dangle': [
'error',
{
arrays: 'always-multiline',
objects: 'always-multiline',
imports: 'always-multiline',
exports: 'always-multiline',
functions: 'ignore',
},
],
},
extends: [require.resolve('@roots/sage/eslint-config')],
};
44 changes: 4 additions & 40 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -1,42 +1,6 @@
{
"extends": "stylelint-config-standard",
"rules": {
"string-quotes": null,
"selector-class-pattern": null,
"declaration-colon-newline-after": null,
"value-list-comma-newline-after": null,
"no-empty-source": null,
"no-descending-specificity": null,
"at-rule-empty-line-before": null,
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": [
"extend",
"at-root",
"debug",
"warn",
"error",
"if",
"else",
"for",
"each",
"while",
"mixin",
"include",
"content",
"return",
"tailwind",
"apply",
"responsive",
"variants",
"screen",
"function",
"use",
"forward",
"layer"
]
}
]
}
"extends": [
"@roots/sage/stylelint-config",
"@roots/bud-tailwindcss/stylelint-config"
]
}
5 changes: 2 additions & 3 deletions bud.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/**
* @typedef {import('@roots/bud').Bud} Bud
* @typedef {import('@roots/bud').Bud} bud
*
* @param {Bud} app
* @param {bud} app
*/

module.exports = (app) =>
app
/**
Expand Down
15 changes: 15 additions & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"baseUrl": ".",
"lib": ["dom", "dom.iterable", "esnext"],
"module": "commonjs",
"moduleResolution": "node",
"paths": {
"@scripts/*": ["./resources/scripts/*"],
"@styles/*": ["./resources/styles/*"]
},
"target": "es5"
},
"exclude": ["./public"]
}
23 changes: 0 additions & 23 deletions tsconfig.json

This file was deleted.

0 comments on commit 405fb7b

Please sign in to comment.